controller_patcher_configs/Stadia_Controller_rev_A.ini
2023-01-18 21:57:13 -05:00

51 lines
1.2 KiB
INI

[vid=0x18D1,pid=0x9400]
// Buttons
VPAD_BUTTON_A = 0x03,0x40
VPAD_BUTTON_B = 0x03,0x20
VPAD_BUTTON_X = 0x03,0x10
VPAD_BUTTON_Y = 0x03,0x08
VPAD_BUTTON_PLUS = 0x02,0x20
VPAD_BUTTON_MINUS = 0x02,0x40
VPAD_BUTTON_HOME = 0x02,0x10
VPAD_BUTTON_SYNC = 0X02,0x02
VPAD_BUTTON_TV = 0X02,0x01
// Directional Pad
DPAD_MODE = DPAD_HAT
DPAD_MASK = 0x0F
VPAD_BUTTON_DPAD_N = 0x01,0x00
VPAD_BUTTON_DPAD_NE = 0x01,0x01
VPAD_BUTTON_DPAD_E = 0x01,0x02
VPAD_BUTTON_DPAD_SE = 0x01,0x03
VPAD_BUTTON_DPAD_S = 0x01,0x04
VPAD_BUTTON_DPAD_SW = 0x01,0x05
VPAD_BUTTON_DPAD_W = 0x01,0x06
VPAD_BUTTON_DPAD_NW = 0x01,0x07
VPAD_BUTTON_DPAD_Neutral = 0x01,0x08
// Shoulders and Triggers
VPAD_BUTTON_ZR = 0x02,0x08
VPAD_BUTTON_ZL = 0x02,0x04
VPAD_BUTTON_L = 0x03,0x04
VPAD_BUTTON_R = 0x03,0x02
// Analog Sticks (clickdown buttons)
VPAD_BUTTON_STICK_L = 0x03,0x01
VPAD_BUTTON_STICK_R = 0x02,0x80
// Analog Sticks
VPad_L_Stick_X = 0x04,0x80
VPad_L_Stick_X_MinMax = 0x01,0xFF
VPad_L_Stick_Y = 0x05,0x80
VPad_L_Stick_Y_MinMax = 0x01,0xFF
VPad_L_Stick_Y_Invert = true
VPad_R_Stick_X = 0x06,0x80
VPad_R_Stick_X_MinMax = 0x01,0xFF
VPad_R_Stick_Y = 0x07,0x80
VPad_R_Stick_Y_MinMax = 0x01,0xFF
VPad_R_Stick_Y_Invert = true