mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-05 16:05:09 +01:00
59 lines
1.7 KiB
INI
59 lines
1.7 KiB
INI
|
//Configuration file made for 'Generic GC Controller Adapter' device.
|
||
|
//The label behind this contained the following information -
|
||
|
//'GC Controller Adapter For Switch/Wii U/PC ITEM TO HS-SW305'
|
||
|
//Device must be set in 'PC' mode.
|
||
|
//Made by cesarmades.
|
||
|
[vid=0x0079,pid=0x1846]
|
||
|
|
||
|
VPAD_BUTTON_A = 0x01,0x02
|
||
|
VPAD_BUTTON_B = 0x01,0x04
|
||
|
VPAD_BUTTON_X = 0x01,0x01
|
||
|
VPAD_BUTTON_Y = 0x01,0x08
|
||
|
|
||
|
VPAD_BUTTON_PLUS = 0x02,0x02
|
||
|
VPAD_BUTTON_MINUS =
|
||
|
VPAD_BUTTON_HOME =
|
||
|
|
||
|
VPAD_BUTTON_L = 0x01,0x10
|
||
|
VPAD_BUTTON_R = 0x01,0x20
|
||
|
|
||
|
VPAD_BUTTON_STICK_L =
|
||
|
VPAD_BUTTON_STICK_R =
|
||
|
|
||
|
VPAD_BUTTON_ZL =
|
||
|
VPAD_BUTTON_ZR = 0x01,0x80
|
||
|
|
||
|
DPAD_MODE = DPAD_NORMAL
|
||
|
VPAD_BUTTON_LEFT = 0x02,0x80
|
||
|
VPAD_BUTTON_RIGHT = 0x02,0x20
|
||
|
VPAD_BUTTON_UP = 0x02,0x10
|
||
|
VPAD_BUTTON_DOWN = 0x02,0x40
|
||
|
|
||
|
VPAD_L_STICK_X = 0x03,0x80
|
||
|
VPAD_L_STICK_Y = 0x04,0x80
|
||
|
VPAD_R_STICK_X = 0x06,0x80
|
||
|
VPAD_R_STICK_Y = 0x05,0x80
|
||
|
|
||
|
VPAD_L_STICK_X_MinMax = 0x00,0xFF
|
||
|
VPAD_L_STICK_Y_MinMax = 0x00,0xFF
|
||
|
VPAD_R_STICK_X_MinMax = 0x00,0xFF
|
||
|
VPAD_R_STICK_Y_MinMax = 0x00,0xFF
|
||
|
|
||
|
//Set these per you controller current state.
|
||
|
VPAD_L_STICK_X_Deadzone = 0x03
|
||
|
VPAD_L_STICK_Y_Deadzone = 0x03
|
||
|
VPAD_R_STICK_X_Deadzone = 0x03
|
||
|
VPAD_R_STICK_Y_Deadzone = 0x03
|
||
|
|
||
|
//These may vary from device to device.
|
||
|
VPAD_L_STICK_X_Invert = false
|
||
|
VPAD_L_STICK_Y_Invert = true
|
||
|
VPAD_R_STICK_X_Invert = true
|
||
|
VPAD_R_STICK_Y_Invert = false
|
||
|
|
||
|
PAD_COUNT = 4
|
||
|
PAD1_FILTER = 0x00,0x01
|
||
|
PAD2_FILTER = 0x00,0x02
|
||
|
PAD3_FILTER = 0x00,0x03
|
||
|
PAD4_FILTER = 0x00,0x04
|