Skip to content

MTY_CAxis

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Standardized controller axes.

libmatoya makes a best effort to remap axes (sticks, triggers, and DPAD) of known controllers to these values.

Name Value Details
MTY_CAXIS_THUMB_LX 0 Left Thumb Stick X-axis.
MTY_CAXIS_THUMB_LY 1 Left Thumb Stick Y-axis.
MTY_CAXIS_THUMB_RX 2 Right Thumb Stick X-axis.
MTY_CAXIS_THUMB_RY 3 Right Thumb Stick Y-axis.
MTY_CAXIS_TRIGGER_L 4 Left Trigger
MTY_CAXIS_TRIGGER_R 5 Right Trigger
MTY_CAXIS_DPAD 6 DPAD
MTY_CAXIS_MAX 16 Maximum number of possible axes.

See also

Module: App

Clone this wiki locally