mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-17 13:49:19 +01:00
3ed3755ce5
Add Dualshock 2 Configuration using UnoJoy in conjunction with an Arduino to form an adapter Everything works + Perfect Deadzones
49 lines
1.1 KiB
INI
49 lines
1.1 KiB
INI
[vid=0x10c4,pid=0x82c0]
|
|
//BUTTONS
|
|
VPAD_BUTTON_A=0xC,0xFF
|
|
VPAD_BUTTON_B=0xD,0xFF
|
|
VPAD_BUTTON_X=0xB,0xFF
|
|
VPAD_BUTTON_Y=0xE,0xFF
|
|
//CONTROL
|
|
VPAD_BUTTON_PLUS=0x01,0x02
|
|
VPAD_BUTTON_MINUS=0x01,0x01
|
|
//DPAD
|
|
DPAD_MODE=DPAD_HAT
|
|
DPad_MASK=0x0F
|
|
VPAD_BUTTON_DPAD_N=0x02,0x0
|
|
VPAD_BUTTON_DPAD_NE=0x02,0x01
|
|
VPAD_BUTTON_DPAD_E=0x02,0x02
|
|
VPAD_BUTTON_DPAD_SE=0x02,0x03
|
|
VPAD_BUTTON_DPAD_S=0x02,0x04
|
|
VPAD_BUTTON_DPAD_SW=0x02,0x05
|
|
VPAD_BUTTON_DPAD_W=0x2,0x06
|
|
VPAD_BUTTON_DPAD_NW=0x02,0x07
|
|
VPAD_BUTTON_DPAD_Neutral=0x02,0x08
|
|
//Sticks
|
|
VPad_L_Stick_X=0x03,0x80
|
|
VPad_L_Stick_X_MinMax=0x00,0xFF
|
|
VPad_L_Stick_X_Deadzone=0x20
|
|
//
|
|
VPad_L_Stick_Y=0x04,0x80
|
|
VPad_L_Stick_Y_MinMax=0x00,0xFF
|
|
VPad_L_Stick_Y_Deadzone=0x20
|
|
VPad_L_Stick_Y_Invert=True
|
|
//
|
|
VPad_R_Stick_X=0x05,0x80
|
|
VPad_R_Stick_X_MinMax=0x00,0xFF
|
|
VPad_R_Stick_X_Deadzone=0x20
|
|
//
|
|
VPad_R_Stick_Y=0x06,0x80
|
|
VPad_R_Stick_Y_MinMax=0x00,0xFF
|
|
VPad_R_Stick_Y_Deadzone=0x20
|
|
VPad_R_Stick_Y_Invert=True
|
|
//Stick Buttons
|
|
VPAD_BUTTON_STICK_L=0x01,0x04
|
|
VPAD_BUTTON_STICK_R=0x01,0x08
|
|
//Triggers
|
|
VPAD_BUTTON_ZR=0x0,0x80
|
|
VPAD_BUTTON_ZL=0x0,0x40
|
|
VPAD_BUTTON_L=0x0,0x10
|
|
VPAD_BUTTON_R=0x0,0x20
|
|
PAD_COUNT=1
|