What are Gestures?

Gestures are input events based on human hands.
There are two types of devices that raise gesture input events in Mixed Reality Toolkit(MRTK):
  • Windows Mixed Reality devices such as HoloLens. This describes pinching motions ("Air Tap") and tap-and-hold gestures.
WindowsMixedRealityDeviceManager wraps the Unity XR.WSA.Input.GestureRecognizer to consume Unity's gesture events from HoloLens devices.
  • Touch screen devices.
UnityTouchController wraps the Unity Touch class that supports physical touch screens.
Both of these input sources use the Gesture Settings profile to translate Unity's Touch and Gesture events respectively into MRTK's Input Actions. This profile can be found under the Input System Settings profile.
Gesture Profile Settings