mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-17 13:49:19 +01:00
59 lines
1.7 KiB
INI
59 lines
1.7 KiB
INI
|
//Configuration file made for 'Genius MaxFire G-12U VIBRATION' controller.
|
||
|
//Made by cesarmades.
|
||
|
[vid=0x0583,pid=0xa009]
|
||
|
|
||
|
VPAD_BUTTON_A = 0x05,0x02
|
||
|
VPAD_BUTTON_B = 0x05,0x01
|
||
|
VPAD_BUTTON_X = 0x05,0x08
|
||
|
VPAD_BUTTON_Y = 0x05,0x04
|
||
|
|
||
|
VPAD_BUTTON_PLUS = 0x06,0x02
|
||
|
VPAD_BUTTON_MINUS = 0x06,0x01
|
||
|
VPAD_BUTTON_HOME =
|
||
|
|
||
|
VPAD_BUTTON_L = 0x05,0x10
|
||
|
VPAD_BUTTON_R = 0x05,0x20
|
||
|
|
||
|
VPAD_BUTTON_STICK_L = 0x06,0x04
|
||
|
VPAD_BUTTON_STICK_R = 0x06,0x08
|
||
|
|
||
|
VPAD_BUTTON_ZL = 0x05,0x40
|
||
|
VPAD_BUTTON_ZR = 0x05,0x80
|
||
|
|
||
|
DPAD_MODE = DPAD_HAT
|
||
|
DPAD_MASK = 0x0F
|
||
|
VPAD_BUTTON_DPAD_N = 0x04,0x00
|
||
|
VPAD_BUTTON_DPAD_NE = 0x04,0x01
|
||
|
VPAD_BUTTON_DPAD_E = 0x04,0x02
|
||
|
VPAD_BUTTON_DPAD_SE = 0x04,0x03
|
||
|
VPAD_BUTTON_DPAD_S = 0x04,0x04
|
||
|
VPAD_BUTTON_DPAD_SW = 0x04,0x05
|
||
|
VPAD_BUTTON_DPAD_W = 0x04,0x06
|
||
|
VPAD_BUTTON_DPAD_NW = 0x04,0x07
|
||
|
VPAD_BUTTON_DPAD_Neutral = 0x04,0x0F
|
||
|
|
||
|
VPAD_L_STICK_X = 0x00,0x80
|
||
|
VPAD_L_STICK_Y = 0x01,0x80
|
||
|
VPAD_R_STICK_X = 0x02,0x80
|
||
|
VPAD_R_STICK_Y = 0x03,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.
|
||
|
//Mine required a deadzone since left stick was throwing random numbers.
|
||
|
VPAD_L_STICK_X_Deadzone = 0x0F
|
||
|
VPAD_L_STICK_Y_Deadzone = 0x0F
|
||
|
VPAD_R_STICK_X_Deadzone = 0x01
|
||
|
VPAD_R_STICK_Y_Deadzone = 0x01
|
||
|
|
||
|
//These may vary from device to device.
|
||
|
VPAD_L_STICK_X_Invert = false
|
||
|
VPAD_L_STICK_Y_Invert = true
|
||
|
VPAD_R_STICK_X_Invert = false
|
||
|
VPAD_R_STICK_Y_Invert = true
|
||
|
|
||
|
PAD_COUNT = 0x01
|