Merge 0f674ecc7c
into 145f62b8f5
This commit is contained in:
commit
bc0cd2eb61
|
@ -0,0 +1,49 @@
|
|||
[vid=0x1345,pid=0x1000]
|
||||
// Face Buttons
|
||||
VPAD_BUTTON_A=0x04,0x02
|
||||
VPAD_BUTTON_B=0x04,0x01
|
||||
VPAD_BUTTON_X=0x04,0x08
|
||||
VPAD_BUTTON_Y=0x04,0x04
|
||||
// Shoulder Buttons
|
||||
VPAD_BUTTON_L=0x04,0x10
|
||||
VPAD_BUTTON_ZL=0x04,0x40
|
||||
VPAD_BUTTON_R=0x04,0x20
|
||||
VPAD_BUTTON_ZR=0x04,0x80
|
||||
// Control Buttons
|
||||
VPAD_BUTTON_HOME=0x07,0x40
|
||||
VPAD_BUTTON_MINUS=0x05,0x11
|
||||
VPAD_BUTTON_PLUS=0x05,0x22
|
||||
// D-Pad
|
||||
DPAD_MODE=DPAD_HAT
|
||||
DPAD_MASK=0xFF
|
||||
VPAD_BUTTON_DPAD_NEUTRAL=0x06,0x88
|
||||
VPAD_BUTTON_DPAD_N=0x06,0x00
|
||||
VPAD_BUTTON_DPAD_NE=0x06,0x11
|
||||
VPAD_BUTTON_DPAD_E=0x06,0x22
|
||||
VPAD_BUTTON_DPAD_SE=0x06,0x33
|
||||
VPAD_BUTTON_DPAD_S=0x06,0x44
|
||||
VPAD_BUTTON_DPAD_SW=0x06,0x55
|
||||
VPAD_BUTTON_DPAD_W=0x06,0x66
|
||||
VPAD_BUTTON_DPAD_NW=0x06,0x77
|
||||
// Left Thumbsticks
|
||||
VPAD_BUTTON_STICK_L=0x05,0x44
|
||||
VPAD_L_STICK_X=0x00,0x80
|
||||
VPAD_L_STICK_X_DEADZONE=0x00
|
||||
VPAD_L_STICK_X_INVERT=False
|
||||
VPAD_L_STICK_X_MINMAX=0x00,0xFF
|
||||
VPAD_L_STICK_Y=0x01,0x80
|
||||
VPAD_L_STICK_Y_DEADZONE=0x00
|
||||
VPAD_L_STICK_Y_INVERT=True
|
||||
VPAD_L_STICK_Y_MINMAX=0x00,0xFF
|
||||
// Right Thumbsticks
|
||||
VPAD_BUTTON_STICK_R=0x05,0x88
|
||||
VPAD_R_STICK_X=0x02,0x80
|
||||
VPAD_R_STICK_X_DEADZONE=0x00
|
||||
VPAD_R_STICK_X_INVERT=False
|
||||
VPAD_R_STICK_X_MINMAX=0x00,0xFF
|
||||
VPAD_R_STICK_Y=0x03,0x80
|
||||
VPAD_R_STICK_Y_DEADZONE=0x00
|
||||
VPAD_R_STICK_Y_INVERT=True
|
||||
VPAD_R_STICK_Y_MINMAX=0x00,0xFF
|
||||
// The device send one report per controller.
|
||||
PAD_COUNT=0x01
|
Loading…
Reference in New Issue