Adding 1 generic GC adapter and 1 Genius controller.
Adding support for the following devices: - GC Controller Adapter For Switch/Wii U/PC ITEM TO HS-SW305 (must be set on PC mode). - Genius MaxFire G-12U VIBRATION
This commit is contained in:
parent
73d7e914e1
commit
135e2191bc
|
@ -0,0 +1,58 @@
|
|||
//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
|
|
@ -0,0 +1,58 @@
|
|||
//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
|
Loading…
Reference in New Issue