VParamix

Gamepad

Gamepad source parameters.

Gamepad exposes buttons, sticks, triggers, sensors, touchpad values, and connection state.

Buttons

ParameterRangeDefaultDetail
GamepadA0 ~ 10A button.
GamepadB0 ~ 10B button.
GamepadX0 ~ 10X button.
GamepadY0 ~ 10Y button.
GamepadDpadUp0 ~ 10D-pad up.
GamepadDpadDown0 ~ 10D-pad down.
GamepadDpadLeft0 ~ 10D-pad left.
GamepadDpadRight0 ~ 10D-pad right.
GamepadLeftBumper0 ~ 10Left bumper.
GamepadRightBumper0 ~ 10Right bumper.
GamepadBack0 ~ 10Back button.
GamepadStart0 ~ 10Start button.
GamepadGuide0 ~ 10Guide button.
GamepadLeftStickPress0 ~ 10Left stick press.
GamepadRightStickPress0 ~ 10Right stick press.

Axes and triggers

ParameterRangeDefaultDetail
GamepadLeftTrigger0 ~ 10Left trigger.
GamepadRightTrigger0 ~ 10Right trigger.
GamepadLeftStickX-1 ~ 10Left stick horizontal axis.
GamepadLeftStickY-1 ~ 10Left stick vertical axis.
GamepadRightStickX-1 ~ 10Right stick horizontal axis.
GamepadRightStickY-1 ~ 10Right stick vertical axis.

Motion and touch

ParameterRangeDefaultDetail
GamepadGyroX-10 ~ 100Gyro X in rad/s.
GamepadGyroY-10 ~ 100Gyro Y in rad/s.
GamepadGyroZ-10 ~ 100Gyro Z in rad/s.
GamepadAccelX-20 ~ 200Acceleration X in m/s^2.
GamepadAccelY-20 ~ 200Acceleration Y in m/s^2.
GamepadAccelZ-20 ~ 200Acceleration Z in m/s^2.
GamepadTouchpadButton0 ~ 10Touchpad button.
GamepadTouch1Active0 ~ 10First touch active.
GamepadTouch1X0 ~ 10First touch X.
GamepadTouch1Y0 ~ 10First touch Y.
GamepadTouch1Pressure0 ~ 10First touch pressure.
GamepadTouch2Active0 ~ 10Second touch active.
GamepadTouch2X0 ~ 10Second touch X.
GamepadTouch2Y0 ~ 10Second touch Y.
GamepadTouch2Pressure0 ~ 10Second touch pressure.
GamepadConnected0 ~ 10Selected gamepad connected.

On this page