SpatialInteractionPressKind
SpatialInteractionPressKind
SpatialInteractionPressKind
SpatialInteractionPressKind
Enum
Definition
Specifies the kind of press represented by a SourcePressed or SourceReleased event.
public : enum class SpatialInteractionPressKindpublic enum SpatialInteractionPressKindPublic Enum SpatialInteractionPressKind// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Fields
| Grasp Grasp Grasp Grasp | For motion controllers, a grasp represents the user squeezing their fist tightly. This may be detected by grip buttons or a palm trigger. |
| Menu Menu Menu Menu | For motion controllers, a Menu press represents the controller's Menu button being pressed. |
| None None None None | This is a SourceDetected, SourceLost or SourceUpdated event, which does not represent a press or a release. |
| Select Select Select Select | Select represents the primary press for a spatial interaction source:
|
| Thumbstick Thumbstick Thumbstick Thumbstick | For motion controllers, a thumbstick press represents the user clicking down on the thumbstick. |
| Touchpad Touchpad Touchpad Touchpad | For motion controllers, a touchpad press represents the user clicking down on the touchpad. |