forked from Maschell/controller_patcher_configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxinput.ini
43 lines (33 loc) · 962 Bytes
/
xinput.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[vid=0x7331,pid=0x1337]
VPAD_BUTTON_A = 0x07,0x02
VPAD_BUTTON_B = 0x07,0x01
VPAD_BUTTON_X = 0x07,0x08
VPAD_BUTTON_Y = 0x07,0x04
VPAD_BUTTON_PLUS = 0x06,0x02
VPAD_BUTTON_MINUS = 0x06,0x01
VPAD_BUTTON_HOME = 0x06,0x80
VPAD_BUTTON_L = 0x06,0x04
VPAD_BUTTON_R = 0x06,0x08
VPAD_BUTTON_STICK_L = 0x06,0x10
VPAD_BUTTON_STICK_R = 0x06,0x20
//The "value" is a deadzone in this case
VPAD_BUTTON_ZL = 0x04,0x80
VPAD_BUTTON_ZR = 0x05,0x80
DPAD_MODE = DPAD_NORMAL
DPad_MASK = 0xF0
VPAD_BUTTON_UP = 0x07,0x20
VPAD_BUTTON_DOWN = 0x07,0x80
VPAD_BUTTON_LEFT = 0x07,0x10
VPAD_BUTTON_RIGHT = 0x07,0x40
VPAD_L_STICK_X = 0x00,0x80
VPAD_L_STICK_X_MINMAX = 0x00,0xFF
VPAD_L_STICK_X_DEADZONE = 0x10
VPAD_L_STICK_Y = 0x01,0x80
VPAD_L_STICK_Y_MINMAX = 0x00,0xFF
VPAD_L_STICK_Y_DEADZONE = 0x10
VPAD_R_STICK_X = 0x02,0x80
VPAD_R_STICK_X_MINMAX = 0x00,0xFF
VPAD_R_STICK_X_DEADZONE = 0x10
VPAD_R_STICK_Y = 0x03,0x80
VPAD_R_STICK_Y_MINMAX = 0x00,0xFF
VPAD_R_STICK_Y_DEADZONE = 0x10