Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //TEST: Make sure the controller is set to DInput mode
- //When A,B,X,Y or L1 is pressed: Two positions change value in HID-Test?
- [vid=0x20a0,pid=0x41b0]
- //Buttons
- VPad_Button_A = 0x00,0x02
- VPad_Button_B = 0x00,0x04
- VPad_Button_X = 0x00,0x01
- VPad_Button_Y = 0x00,0x08
- VPad_Button_Plus = 0x01,0x02
- VPad_Button_Minus = 0x01,0x01
- VPad_Button_Home = 0x01,0x10
- VPad_Button_L = 0x00,0x10
- VPad_Button_R = 0x00,0x20
- VPad_Button_Stick_L = 0x01,0x04
- VPad_Button_Stick_R = 0x01,0x08
- //VPad_Button_A = 0x13,0xFF
- //VPad_Button_B = 0x12,0xFF
- //VPad_Button_X = 0x14,0xFF
- //VPad_Button_Y = 0x11,0xFF
- //VPad_Button_L = 0x15,0xFF
- //Triggers
- VPad_Button_ZL = 0x00,0x40
- VPad_Button_ZR = 0x00,0x80
- //D-Pad
- VPAD_BUTTON_LEFT = 0x02,0x06 //W
- VPAD_BUTTON_RIGHT = 0x02,0x02 //E
- VPAD_BUTTON_UP = 0x02,0x00 //N
- VPAD_BUTTON_DOWN = 0x02,0x04 //S
- //Thumbsticks
- VPad_L_Stick_X = 0x03,0x80
- VPad_L_Stick_X_MinMax = 0x08,0xEF
- VPad_L_Stick_X_Invert = False
- VPad_L_Stick_X_Deadzone = 0x0A
- VPad_L_Stick_Y = 0x04,0x80
- VPad_L_Stick_Y_MinMax = 0x08,0xEF
- VPad_L_Stick_Y_Deadzone = 0x0A
- VPad_L_Stick_Y_Invert = True
- VPad_R_Stick_X = 0x05,0x80
- VPad_R_Stick_X_MinMax = 0x08,0xEF
- VPad_R_Stick_X_Deadzone = 0x0A
- VPad_R_Stick_X_Invert = False
- VPad_R_Stick_Y = 0x06,0x80
- VPad_R_Stick_Y_MinMax = 0x08,0xEF
- VPad_R_Stick_Y_Deadzone = 0x0A
- VPad_R_Stick_Y_Invert = True
- //VPad_R_Stick_Y_Deadzone=0x26
- //VPad_R_Stick_X_Deadzone=0x24
- //VPad_L_Stick_Y_Deadzone=0x24
- //VPad_L_Stick_X_Deadzone=0x33
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement