Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 2.45 KB

File metadata and controls

20 lines (17 loc) · 2.45 KB
uid input-system-default-ui-map-ref

Default UI Action Map reference

The default project-wide actions asset has a default configuration for UI input.

Action Action Type Control Type Description
Navigate PassThrough Vector2 A vector used to select the currently active UI selectable in gamepad or arrow-key navigation-type input.
Submit Button Button Submits the currently selected UI selectable in navigation-type input
Cancel Button Button Exits any interaction with the currently selected UI selectable in navigation-type input
Point PassThrough Vector2 A 2D screen position. The cursor for pointer-type interaction.
Click PassThrough Button The primary button for pointer-type interaction.
RightClick PassThrough Button The secondary button for pointer-type interaction.
MiddleClick PassThrough Button The middle button for pointer-type interaction.
ScrollWheel PassThrough Vector2 The scrolling gesture for pointer-type interaction.
Tracked Device Position PassThrough Vector3 A 3D position of one or multiple spatial tracking devices, such as XR hand controllers. In combination with Tracked Device Orientation, this allows XR-style UI interactions by pointing at UI selectables in space. Refer to tracked-type input.
Tracked Device Orientation PassThrough Quaternion a Quaternion representing the rotation of one or multiple spatial tracking devices, such as XR hand controllers. In combination with [Tracked Device Position](xref:UnityEngine.InputSystem.UI.InputSystemUIInputModule.