Debian Codegraph @

fsgs/res/input/microsoft/x_box_360_pad.ini

raw
1 # Device: Xbox 360 Wired Controller (Linux)
2 # Button mapping works with recent Linux versions. Older
3 # versions need another mapping (you must create a custom
4 # config)
5
6 [device]
7 name = Xbox 360 Controller
8 type = joystick/gamepad
9
10 [default]
11 include = common/gamepad
12 axis_0_neg = lstick_left
13 axis_0_pos = lstick_right
14 axis_1_neg = lstick_up
15 axis_1_pos = lstick_down
16 axis_2_pos = left_trigger
17 axis_3_neg = rstick_up
18 axis_3_pos = rstick_down
19 axis_4_neg = rstick_left
20 axis_4_pos = rstick_right
21 axis_5_pos = right_trigger
22 button_0 = south_button
23 button_1 = east_button
24 button_2 = west_button
25 button_3 = north_button
26 button_4 = left_shoulder
27 button_5 = right_shoulder
28 button_6 = select_button
29 button_7 = start_button
30 button_8 = menu_button
31 button_9 = lstick_button
32 button_10 = rstick_button
33 hat_0_left = dpad_left
34 hat_0_right = dpad_right
35 hat_0_up = dpad_up
36 hat_0_down = dpad_down