linux-dist/evdev: Introduce a more consistens button naming scheme
This commit is contained in:
parent
ceb2a11441
commit
785b819cb9
|
@ -141,18 +141,18 @@
|
|||
load_keycode(&mf, "dreamcast", "btn_z"),
|
||||
load_keycode(&mf, "dreamcast", "btn_start"),
|
||||
load_keycode(&mf, "emulator", "btn_escape"),
|
||||
load_keycode(&mf, "dreamcast", "dpad_left"),
|
||||
load_keycode(&mf, "dreamcast", "dpad_right"),
|
||||
load_keycode(&mf, "dreamcast", "dpad_up"),
|
||||
load_keycode(&mf, "dreamcast", "dpad_down"),
|
||||
load_keycode(&mf, "dreamcast", "dpad2_left"),
|
||||
load_keycode(&mf, "dreamcast", "dpad2_right"),
|
||||
load_keycode(&mf, "dreamcast", "dpad2_up"),
|
||||
load_keycode(&mf, "dreamcast", "dpad2_down"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad1_left"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad1_right"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad1_up"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad1_down"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad2_left"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad2_right"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad2_up"),
|
||||
load_keycode(&mf, "dreamcast", "btn_dpad2_down"),
|
||||
load_keycode(&mf, "compat", "btn_trigger_left"),
|
||||
load_keycode(&mf, "compat", "btn_trigger_right"),
|
||||
load_keycode(&mf, "compat", "axis_dpad_x"),
|
||||
load_keycode(&mf, "compat", "axis_dpad_y"),
|
||||
load_keycode(&mf, "compat", "axis_dpad1_x"),
|
||||
load_keycode(&mf, "compat", "axis_dpad1_y"),
|
||||
load_keycode(&mf, "compat", "axis_dpad2_x"),
|
||||
load_keycode(&mf, "compat", "axis_dpad2_y"),
|
||||
load_keycode(&mf, "dreamcast", "axis_x"),
|
||||
|
|
|
@ -10,7 +10,7 @@ btn_d = 0x0E
|
|||
btn_x = 0x2A
|
||||
btn_y = 0x39
|
||||
btn_start = 0x1C
|
||||
dpad_left = 0x69
|
||||
dpad_right = 0x6A
|
||||
dpad_up = 0x67
|
||||
dpad_down = 0x6C
|
||||
btn_dpad1_left = 0x69
|
||||
btn_dpad1_right = 0x6A
|
||||
btn_dpad1_up = 0x67
|
||||
btn_dpad1_down = 0x6C
|
||||
|
|
|
@ -11,10 +11,10 @@ btn_x = 0x133
|
|||
btn_y = 0x134
|
||||
btn_z = 0x135
|
||||
btn_start = 0x13b
|
||||
dpad_left = 0x220
|
||||
dpad_right = 0x221
|
||||
dpad_up = 0x222
|
||||
dpad_down = 0x223
|
||||
btn_dpad1_left = 0x220
|
||||
btn_dpad1_right = 0x221
|
||||
btn_dpad1_up = 0x222
|
||||
btn_dpad1_down = 0x223
|
||||
axis_x = 0x00
|
||||
axis_y = 0x01
|
||||
axis_trigger_left = 0x02
|
||||
|
@ -23,7 +23,7 @@ axis_trigger_right = 0x05
|
|||
[compat]
|
||||
btn_trigger_left = 0x136
|
||||
btn_trigger_right = 0x137
|
||||
axis_dpad_x = 0x10
|
||||
axis_dpad_y = 0x11
|
||||
axis_dpad1_x = 0x10
|
||||
axis_dpad1_y = 0x11
|
||||
axis_dpad2_x = 0x12
|
||||
axis_dpad2_y = 0x13
|
|
@ -8,11 +8,11 @@ btn_b = 107
|
|||
btn_c = 57
|
||||
btn_x = 102
|
||||
btn_y = 104
|
||||
btn_start = 56
|
||||
dpad_left = 105
|
||||
dpad_right = 106
|
||||
dpad_up = 103
|
||||
dpad_down = 108
|
||||
btn_start = 56
|
||||
btn_dpad1_left = 105
|
||||
btn_dpad1_right = 106
|
||||
btn_dpad1_up = 103
|
||||
btn_dpad1_down = 108
|
||||
|
||||
[compat]
|
||||
btn_trigger_left = 54
|
||||
|
|
|
@ -17,5 +17,5 @@ axis_trigger_left = 0x0a
|
|||
axis_trigger_right = 0x09
|
||||
|
||||
[compat]
|
||||
axis_dpad_x = 0x10
|
||||
axis_dpad_y = 0x11
|
||||
axis_dpad1_x = 0x10
|
||||
axis_dpad1_y = 0x11
|
||||
|
|
|
@ -11,15 +11,15 @@ btn_x = 0x133
|
|||
btn_y = 0x134
|
||||
btn_z = 0x13d
|
||||
btn_start = 0x13b
|
||||
dpad_left = 0x2c0
|
||||
dpad_right = 0x2c1
|
||||
dpad_up = 0x2c2
|
||||
dpad_down = 0x2c3
|
||||
btn_dpad1_left = 0x2c0
|
||||
btn_dpad1_right = 0x2c1
|
||||
btn_dpad1_up = 0x2c2
|
||||
btn_dpad1_down = 0x2c3
|
||||
axis_x = 0x00
|
||||
axis_y = 0x01
|
||||
axis_trigger_left = 0x02
|
||||
axis_trigger_right = 0x05
|
||||
|
||||
[compat]
|
||||
axis_dpad_x = 0x10
|
||||
axis_dpad_y = 0x11
|
||||
axis_dpad1_x = 0x10
|
||||
axis_dpad1_y = 0x11
|
||||
|
|
|
@ -11,10 +11,10 @@ btn_x = 45
|
|||
btn_y = 21
|
||||
btn_z = 44
|
||||
btn_start = 28
|
||||
dpad_left = 105
|
||||
dpad_right = 106
|
||||
dpad_up = 103
|
||||
dpad_down = 108
|
||||
btn_dpad1_left = 105
|
||||
btn_dpad1_right = 106
|
||||
btn_dpad1_up = 103
|
||||
btn_dpad1_down = 108
|
||||
|
||||
[compat]
|
||||
btn_trigger_left = 29
|
||||
|
|
Loading…
Reference in New Issue