DeviceInputType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The InputType defines the types of input exposed by a controller. Denoting the available buttons / interactions that a controller supports.
public enum class DeviceInputType
public enum DeviceInputType
type DeviceInputType =
Public Enum DeviceInputType
- Inheritance
-
DeviceInputType
Fields
ButtonNearTouch | 9 | |
ButtonPress | 7 | |
ButtonTouch | 8 | |
DirectionalPad | 49 | |
Gaze | 1 | |
Grip | 57 | |
GripNearTouch | 59 | |
GripPosition | 15 | 3-DoF grip with only position. |
GripPress | 60 | |
GripRotation | 16 | 3-DoF grip with only rotation. |
GripTouch | 58 | |
Hand | 28 | |
IndexFinger | 33 | |
IndexFingerNearTouch | 35 | |
IndexFingerPress | 36 | |
IndexFingerTouch | 34 | |
Menu | 27 | |
MiddleFinger | 37 | |
MiddleFingerNearTouch | 39 | |
MiddleFingerPress | 40 | |
MiddleFingerTouch | 38 | |
None | 0 | |
PinkyFinger | 45 | |
PinkyFingerNearTouch | 47 | |
PinkyFingerPress | 48 | |
PinkyFingerTouch | 46 | |
PointerClick | 6 | |
PointerPosition | 4 | 3-DoF pointer with only position. |
PointerRotation | 5 | 3-DoF pointer with only rotation. |
PrimaryButtonNearTouch | 53 | |
PrimaryButtonPress | 51 | |
PrimaryButtonTouch | 52 | |
RingFinger | 41 | |
RingFingerNearTouch | 43 | |
RingFingerPress | 44 | |
RingFingerTouch | 42 | |
Scroll | 50 | |
SecondaryButtonNearTouch | 56 | |
SecondaryButtonPress | 54 | |
SecondaryButtonTouch | 55 | |
Select | 25 | Select, in some cases, maps to the pinch/airtap gesture. |
SpatialGrip | 14 | 6-DoF grip with position and rotation. |
SpatialPointer | 3 | 6-DoF pointer with position and rotation. |
Start | 26 | |
Thumb | 29 | |
ThumbNearTouch | 31 | |
ThumbPress | 32 | |
ThumbStick | 17 | |
ThumbStickNearTouch | 20 | |
ThumbStickPress | 18 | |
ThumbStickTouch | 19 | |
ThumbTouch | 30 | |
Touchpad | 21 | |
TouchpadNearTouch | 23 | |
TouchpadPress | 24 | |
TouchpadTouch | 22 | |
Trigger | 10 | |
TriggerNearTouch | 12 | |
TriggerPress | 13 | |
TriggerTouch | 11 | |
Voice | 2 |