mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-17 21:59:17 +01:00
63 lines
1.8 KiB
INI
63 lines
1.8 KiB
INI
|
//HORI RAP4 KAI (PS3 MODE)
|
||
|
//UPC 873124005301
|
||
|
//author: ff-ws date: 07/10/2017
|
||
|
//0x01, 0x20 (touchpad-pressed) is unused
|
||
|
[vid=0x0f0d,pid=0x008b]
|
||
|
|
||
|
//DPAD
|
||
|
DPAD_MODE = DPAD_HAT
|
||
|
DPAD_MASK = 0x0F
|
||
|
|
||
|
VPAD_BUTTON_DPAD_NETURAL = 0x02, 0x0F
|
||
|
VPAD_BUTTON_DPAD_N = 0x02, 0x00
|
||
|
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 = 0x02, 0x06
|
||
|
VPAD_BUTTON_DPAD_NW = 0x02, 0x07
|
||
|
|
||
|
//FACE-BUTTONS
|
||
|
VPAD_BUTTON_Y = 0x0E, 0xFF //SQUARE
|
||
|
VPAD_BUTTON_X = 0x0B, 0xFF
|
||
|
VPAD_BUTTON_B = 0x0D, 0xFF
|
||
|
VPAD_BUTTON_A = 0x0C, 0xFF
|
||
|
|
||
|
//SHOULDER-BUTTONS
|
||
|
|
||
|
VPAD_BUTTON_R = 0x00, 0x20
|
||
|
VPAD_BUTTON_ZR = 0x00, 0x80
|
||
|
|
||
|
VPAD_BUTTON_L = 0x0F, 0xFF //also 0x00, 0xA0
|
||
|
VPAD_BUTTON_ZL = 0x00, 0x40
|
||
|
|
||
|
//OTHER-BUTTONS
|
||
|
VPAD_BUTTON_STICK_L = 0x01, 0x04
|
||
|
VPAD_BUTTON_STICK_R = 0x01, 0x08
|
||
|
|
||
|
//LEFT-STICK
|
||
|
VPAD_L_STICK_X = 0x03, 0x80
|
||
|
VPAD_L_STICK_Y = 0x04, 0x80
|
||
|
|
||
|
VPAD_L_STICK_X_MINMAX = 0x03, 0xFF
|
||
|
VPAD_L_STICK_Y_MINMAX = 0x04, 0xFF
|
||
|
|
||
|
VPAD_L_STICK_Y_INVERT = TRUE
|
||
|
|
||
|
//RIGHT-STICK
|
||
|
|
||
|
VPAD_R_STICK_X = 0x05, 0x80
|
||
|
VPAD_R_STICK_Y = 0x06, 0x80
|
||
|
|
||
|
VPAD_R_STICK_X_MINMAX = 0x05, 0xFF
|
||
|
VPAD_R_STICK_Y_MINMAX = 0x06, 0xFF
|
||
|
|
||
|
VPAD_R_STICK_Y_INVERT = TRUE
|
||
|
|
||
|
//MISC
|
||
|
VPAD_BUTTON_PLUS = 0x01, 0x02
|
||
|
VPAD_BUTTON_MINUS = 0x01, 0x01
|
||
|
VPAD_BUTTON_HOME = 0x01, 0x10
|
||
|
PAD_COUNT = 0x01
|