mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-17 13:49:19 +01:00
46 lines
1.1 KiB
INI
46 lines
1.1 KiB
INI
|
[vid=0x045E,pid=0x028E]
|
||
|
//Linux: Steam Controller through sc-controller as xbox controller (https://github.com/kozec/sc-controller)
|
||
|
VPAD_BUTTON_A = 0x00,0x02
|
||
|
VPAD_BUTTON_B = 0x00,0x01
|
||
|
VPAD_BUTTON_X = 0x00,0x08
|
||
|
VPAD_BUTTON_Y = 0x00,0x04
|
||
|
|
||
|
VPAD_BUTTON_PLUS = 0x00,0x80
|
||
|
VPAD_BUTTON_MINUS = 0x00,0x40
|
||
|
//VPAD_BUTTON_HOME = 0x01,0x01
|
||
|
|
||
|
VPAD_BUTTON_L = 0x00,0x10
|
||
|
VPAD_BUTTON_R = 0x00,0x20
|
||
|
|
||
|
VPAD_BUTTON_STICK_L = 0x02,0x80
|
||
|
VPAD_BUTTON_STICK_R = 0x03,0x80
|
||
|
|
||
|
//The "value" is a deadzone in this case
|
||
|
VPAD_BUTTON_ZR = 0xD,0xE0
|
||
|
VPAD_BUTTON_ZL = 0xA,0xE0
|
||
|
|
||
|
|
||
|
DPAD_MODE = DPAD_Absolute_2Values
|
||
|
VPAD_BUTTON_DPAD_ABS_UP = 0xF,0x00
|
||
|
VPAD_BUTTON_DPAD_ABS_DOWN = 0xF,0xFF
|
||
|
VPAD_BUTTON_DPAD_ABS_LEFT = 0xE,0x00
|
||
|
VPAD_BUTTON_DPAD_ABS_RIGHT = 0xE,0xFF
|
||
|
|
||
|
VPAD_L_STICK_X = 0x08,0x80
|
||
|
VPAD_L_STICK_X_MINMAX = 0x00,0xFF
|
||
|
VPAD_L_STICK_X_DEADZONE = 0x20
|
||
|
|
||
|
VPAD_L_STICK_Y = 0x09,0x80
|
||
|
VPAD_L_STICK_Y_MINMAX = 0x00,0xFF
|
||
|
VPAD_L_STICK_Y_DEADZONE = 0x20
|
||
|
VPAD_L_STICK_Y_INVERT = True
|
||
|
|
||
|
VPAD_R_STICK_X = 0x0B,0x80
|
||
|
VPAD_R_STICK_X_MINMAX = 0x00,0xFF
|
||
|
VPAD_R_STICK_X_DEADZONE = 0x20
|
||
|
|
||
|
VPAD_R_STICK_Y = 0x0C,0x80
|
||
|
VPAD_R_STICK_Y_MINMAX = 0x00,0xFF
|
||
|
VPAD_R_STICK_Y_DEADZONE = 0x20
|
||
|
VPAD_R_STICK_Y_INVERT = True
|