mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
engine: client: keys: reserve some more buttons as gamepad buttons according to latest SDL2 GameController header
This commit is contained in:
parent
d6d98bd297
commit
c741ec223f
@ -123,13 +123,13 @@ keyname_t keynames[] =
|
||||
{"JOY4" , K_JOY4 , ""},
|
||||
{"C_BUTTON", K_C_BUTTON, ""},
|
||||
{"Z_BUTTON", K_Z_BUTTON, ""},
|
||||
{"AUX20", K_AUX20, ""}, // generic
|
||||
{"AUX21", K_AUX21, ""},
|
||||
{"AUX22", K_AUX22, ""},
|
||||
{"AUX23", K_AUX23, ""},
|
||||
{"AUX24", K_AUX24, ""},
|
||||
{"AUX25", K_AUX25, ""},
|
||||
{"AUX26", K_AUX26, ""},
|
||||
{"MISC_BUTTON", K_MISC_BUTTON, ""},
|
||||
{"PADDLE1", K_PADDLE1_BUTTON, ""},
|
||||
{"PADDLE2", K_PADDLE2_BUTTON, ""},
|
||||
{"PADDLE3", K_PADDLE3_BUTTON, ""},
|
||||
{"PADDLE4", K_PADDLE4_BUTTON, ""},
|
||||
{"TOUCHPAD", K_TOUCHPAD, ""},
|
||||
{"AUX26", K_AUX26, ""}, // generic
|
||||
{"AUX27", K_AUX27, ""},
|
||||
{"AUX28", K_AUX28, ""},
|
||||
{"AUX29", K_AUX29, ""},
|
||||
|
@ -145,11 +145,23 @@
|
||||
#define K_DPAD_RIGHT K_AUX19
|
||||
|
||||
#define K_AUX20 226
|
||||
#define K_MISC_BUTTON K_AUX20 // Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button
|
||||
|
||||
#define K_AUX21 227
|
||||
#define K_PADDLE1_BUTTON K_AUX21 // Xbox Elite paddle P1-P4
|
||||
|
||||
#define K_AUX22 228
|
||||
#define K_PADDLE2_BUTTON K_AUX22
|
||||
|
||||
#define K_AUX23 229
|
||||
#define K_PADDLE3_BUTTON K_AUX23
|
||||
|
||||
#define K_AUX24 230
|
||||
#define K_PADDLE4_BUTTON K_AUX24
|
||||
|
||||
#define K_AUX25 231
|
||||
#define K_TOUCHPAD K_AUX25 // PS4/PS5 touchpad button
|
||||
|
||||
#define K_AUX26 232
|
||||
#define K_AUX27 233
|
||||
#define K_AUX28 234
|
||||
|
Loading…
Reference in New Issue
Block a user