ControllerMappingLibrary Class

Definition

Helper utility to manage all the required Axis configuration for platforms, where required

public ref class ControllerMappingLibrary abstract sealed
public static class ControllerMappingLibrary
type ControllerMappingLibrary = class
Public Class ControllerMappingLibrary
Inheritance
ControllerMappingLibrary

Fields

AXIS_1

Mouse: Position Horizontal Movement

HTC Vive Controller: Left Controller Trackpad (2) Horizontal Movement

Oculus Touch Controller: Axis2D.PrimaryThumbstick Horizontal Movement

Valve Knuckles Controller: Left Controller Trackpad Horizontal Movement

Windows Mixed Reality Motion Controller: Left Thumbstick Horizontal Movement

Xbox Controller: Left Thumbstick Horizontal Movement

AXIS_10

HTC Vive Controller: Right Controller Trigger (7) Squeeze

Oculus Touch Controller: Axis1D.SecondaryIndexTrigger Movement Squeeze

Valve Knuckles Controller: Right Controller Trigger Squeeze

Windows Mixed Reality Motion Controller: Right Trigger Squeeze

AXIS_11

HTC Vive Controller: Left Controller Grip Button (8) Squeeze

Oculus Touch Controller: Axis1D.PrimaryHandTrigger Squeeze

Valve Knuckles Controller: Left Controller Grip Average Squeeze

Windows Mixed Reality Motion Controller: Left Grip Squeeze

AXIS_12

HTC Vive Controller: Right Controller Grip Button (8) Squeeze

Oculus Touch Controller: Axis1D.SecondaryHandTrigger Squeeze

Valve Knuckles Controller: Right Controller Grip Average Squeeze

Windows Mixed Reality Motion Controller: Right Grip Squeeze

AXIS_13

Oculus Touch Controller: Axis1D.PrimaryIndexTrigger Near Touch

AXIS_14

Oculus Touch Controller: Axis1D.SecondaryIndexTrigger Near Touch

AXIS_15

Oculus Touch Controller: Touch.PrimaryThumbRest Near Touch

AXIS_16

Oculus Touch Controller: Button.SecondaryThumbstick Near Touch

AXIS_17

Windows Mixed Reality Motion Controller: Left Touchpad Horizontal Movement

AXIS_18

Windows Mixed Reality Motion Controller: Left Touchpad Vertical Movement

AXIS_19

Windows Mixed Reality Motion Controller: Right Touchpad Horizontal Movement

AXIS_2

Mouse: Position Vertical Movement

HTC Vive Controller: Left Controller Trackpad (2) Vertical Movement

Oculus Touch Controller: Axis2D.PrimaryThumbstick Vertical Movement

Valve Knuckles Controller: Left Controller Trackpad Vertical Movement

Windows Mixed Reality Motion Controller: Left Thumbstick Vertical Movement

Xbox Controller: Left Thumbstick Vertical Movement

AXIS_20

Windows Mixed Reality Motion Controller: Right Touchpad Vertical Movement

Valve Knuckles Controller: Left Controller Index Finger Cap Sensor

AXIS_21

Valve Knuckles Controller: Right Controller Index Finger Cap Sensor

AXIS_22

Valve Knuckles Controller: Left Controller Middle Finger Cap Sensor

AXIS_23

Valve Knuckles Controller: Right Controller Middle Finger Cap Sensor

AXIS_24

Valve Knuckles Controller: Left Controller Ring Finger Cap Sensor

AXIS_25

Valve Knuckles Controller: Right Controller Ring Finger Cap Sensor

AXIS_26

Valve Knuckles Controller: Left Controller Pinky Finger Cap Sensor

AXIS_27

Valve Knuckles Controller: Right Controller Pinky Finger Cap Sensor

AXIS_28
AXIS_3

Mouse: Scroll

Xbox Controller: Shared Trigger

AXIS_4

HTC Vive Controller: Right Controller Trackpad (2) Horizontal Movement

Oculus Touch Controller: Axis2D.SecondaryThumbstick Horizontal Movement

Valve Knuckles Controller: Right Controller Trackpad Horizontal Movement

Windows Mixed Reality Motion Controller: Right Thumbstick Horizontal Movement

Xbox Controller: Right Thumbstick Vertical Movement

AXIS_5

HTC Vive Controller: Right Controller Trackpad (2) Vertical Movement

Oculus Touch Controller: Axis2D.SecondaryThumbstick Vertical Movement

Valve Knuckles Controller: Right Controller Trackpad Vertical Movement

Windows Mixed Reality Motion Controller: Right Thumbstick Vertical Movement

Xbox Controller: Right Thumbstick Vertical Movement

AXIS_6

None

AXIS_7

Xbox Controller: D-Pad Horizontal

AXIS_8

Xbox Controller: D-Pad Vertical

AXIS_9

HTC Vive Controller: Left Controller Trigger (7) Squeeze

Oculus Touch Controller: Axis1D.PrimaryIndexTrigger Squeeze

Valve Knuckles Controller: Left Controller Trigger Squeeze

Windows Mixed Reality Motion Controller: Left Trigger Squeeze

defaultDeadZone
UP_DOWN

Axis for movement along the up (gravity) vector.

Properties

UnityInputManagerAxes

Get the InputManagerAxis data needed to configure the Input Mappings for a controller

Methods

GetControllerTexture(Type, Handedness)
GetControllerTextureScaled(Type, Handedness)

Applies to