InControl API Reference
TouchInputDevice Class Reference
Inheritance diagram for TouchInputDevice:
InputDevice

Additional Inherited Members

- Public Member Functions inherited from InputDevice
 InputDevice (string name)
 
 InputDevice (string name, bool rawSticks)
 
bool HasControl (InputControlType controlType)
 
InputControl GetControl (InputControlType controlType)
 Gets the control with the specified control type. If the control does not exist, InputControl.Null is returned. More...
 
InputControl GetControlByName (string controlName)
 
InputControl AddControl (InputControlType controlType, string handle)
 
InputControl AddControl (InputControlType controlType, string handle, float lowerDeadZone, float upperDeadZone)
 
void ClearInputState ()
 
void UpdateLeftStickWithValue (Vector2 value, ulong updateTick, float deltaTime)
 
void UpdateLeftStickWithRawValue (Vector2 value, ulong updateTick, float deltaTime)
 
void CommitLeftStick ()
 
void UpdateRightStickWithValue (Vector2 value, ulong updateTick, float deltaTime)
 
void UpdateRightStickWithRawValue (Vector2 value, ulong updateTick, float deltaTime)
 
void CommitRightStick ()
 
virtual void Update (ulong updateTick, float deltaTime)
 
void Commit (ulong updateTick, float deltaTime)
 
bool LastInputAfter (InputDevice device)
 
void RequestActivation ()
 
virtual void Vibrate (float leftMotor, float rightMotor)
 
void Vibrate (float intensity)
 
void StopVibration ()
 
virtual void SetLightColor (float red, float green, float blue)
 
void SetLightColor (Color color)
 
virtual void SetLightFlash (float flashOnDuration, float flashOffDuration)
 
void StopLightFlash ()
 
virtual bool ReadRawButtonState (int index)
 
virtual float ReadRawAnalogValue (int index)
 
void TakeSnapshot ()
 
UnknownDeviceControl GetFirstPressedAnalog ()
 
UnknownDeviceControl GetFirstPressedButton ()
 
- Static Public Member Functions inherited from InputDevice
static InputControlType GetInputControlTypeByName (string inputControlName)
 
- Public Attributes inherited from InputDevice
bool Passive
 When a device is passive, it will never be considered an active device. This may be useful if you want a device to be accessible, but not show up in places where active devices are used. Defaults to More...
 
- Static Public Attributes inherited from InputDevice
static readonly InputDevice Null = new InputDevice( "None" )
 
- Protected Member Functions inherited from InputDevice
void ClearControls ()
 
void UpdateWithState (InputControlType controlType, bool state, ulong updateTick, float deltaTime)
 
void UpdateWithValue (InputControlType controlType, float value, ulong updateTick, float deltaTime)
 
- Properties inherited from InputDevice
string Name [get, protected set]
 
string Meta [get, protected set]
 
int SortOrder [get, protected set]
 
InputDeviceClass DeviceClass [get, protected set]
 
InputDeviceStyle DeviceStyle [get, protected set]
 
Guid GUID [get]
 
ulong LastInputTick [get]
 
bool IsActive [get]
 
bool IsAttached [get]
 
bool RawSticks [get]
 
ReadOnlyCollection< InputControlControls [get, protected set]
 
InputControl[] ControlsByTarget [get]
 
TwoAxisInputControl LeftStick [get]
 
TwoAxisInputControl RightStick [get]
 
TwoAxisInputControl DPad [get]
 
InputControlType LeftCommandControl [get]
 
InputControlType RightCommandControl [get]
 
AnalogSnapshotEntry[] AnalogSnapshot [get, set]
 
InputControl this[InputControlType controlType] [get]
 Gets the control with the specified control type. If the control does not exist, InputControl.Null is returned. More...
 
virtual bool IsSupportedOnThisPlatform [get]
 
virtual bool IsKnown [get]
 
bool IsUnknown [get]
 
bool MenuIsPressed [get]
 
bool MenuWasPressed [get]
 
bool MenuWasReleased [get]
 
bool CommandIsPressed [get]
 
bool CommandWasPressed [get]
 
bool CommandWasReleased [get]
 
InputControl AnyButton [get]
 
bool AnyButtonIsPressed [get]
 
bool AnyButtonWasPressed [get]
 
bool AnyButtonWasReleased [get]
 
TwoAxisInputControlDirection [get]
 
InputControl?? LeftStickUp [get]
 
InputControl?? LeftStickDown [get]
 
InputControl?? LeftStickLeft [get]
 
InputControl?? LeftStickRight [get]
 
InputControl?? RightStickUp [get]
 
InputControl?? RightStickDown [get]
 
InputControl?? RightStickLeft [get]
 
InputControl?? RightStickRight [get]
 
InputControl?? DPadUp [get]
 
InputControl?? DPadDown [get]
 
InputControl?? DPadLeft [get]
 
InputControl?? DPadRight [get]
 
InputControl?? Action1 [get]
 
InputControl?? Action2 [get]
 
InputControl?? Action3 [get]
 
InputControl?? Action4 [get]
 
InputControl?? LeftTrigger [get]
 
InputControl?? RightTrigger [get]
 
InputControl?? LeftBumper [get]
 
InputControl?? RightBumper [get]
 
InputControl?? LeftStickButton [get]
 
InputControl?? RightStickButton [get]
 
InputControl?? LeftStickX [get]
 
InputControl?? LeftStickY [get]
 
InputControl?? RightStickX [get]
 
InputControl?? RightStickY [get]
 
InputControl?? DPadX [get]
 
InputControl?? DPadY [get]
 
InputControl?? Command [get]
 
InputControl?? LeftCommand [get]
 
InputControl?? RightCommand [get]
 
virtual int NumUnknownAnalogs [get]
 
virtual int NumUnknownButtons [get]
 

The documentation for this class was generated from the following file: