mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
engine: keys: give gamepad keys names
This commit is contained in:
parent
6aa4765c3e
commit
7d10660b87
@ -98,6 +98,43 @@ keyname_t keynames[] =
|
||||
{"KP_PLUS", K_KP_PLUS, "" },
|
||||
{"PAUSE", K_PAUSE, "pause" },
|
||||
|
||||
{"A_BUTTON", K_A_BUTTON, ""}, // they match xbox controller
|
||||
{"B_BUTTON", K_B_BUTTON, ""},
|
||||
{"X_BUTTON", K_X_BUTTON, ""},
|
||||
{"Y_BUTTON", K_Y_BUTTON, ""},
|
||||
{"L1_BUTTON", K_L1_BUTTON, ""},
|
||||
{"R1_BUTTON", K_R1_BUTTON, ""},
|
||||
{"BACK", K_BACK_BUTTON, ""},
|
||||
{"MODE", K_MODE_BUTTON, ""},
|
||||
{"START", K_START_BUTTON, ""},
|
||||
{"STICK1", K_LSTICK, ""},
|
||||
{"STICK2", K_RSTICK, ""},
|
||||
{"L2_BUTTON", K_L2_BUTTON, ""}, // in case...
|
||||
{"R2_BUTTON", K_R2_BUTTON, ""},
|
||||
{"C_BUTTON", K_C_BUTTON, ""},
|
||||
{"Z_BUTTON", K_Z_BUTTON, ""},
|
||||
{"AUX16", K_AUX16, ""}, // generic
|
||||
{"AUX17", K_AUX17, ""},
|
||||
{"AUX18", K_AUX18, ""},
|
||||
{"AUX19", K_AUX19, ""},
|
||||
{"AUX20", K_AUX20, ""},
|
||||
{"AUX21", K_AUX21, ""},
|
||||
{"AUX22", K_AUX22, ""},
|
||||
{"AUX23", K_AUX23, ""},
|
||||
{"AUX24", K_AUX24, ""},
|
||||
{"AUX25", K_AUX25, ""},
|
||||
{"AUX26", K_AUX26, ""},
|
||||
{"AUX27", K_AUX27, ""},
|
||||
{"AUX28", K_AUX28, ""},
|
||||
{"AUX29", K_AUX29, ""},
|
||||
{"AUX30", K_AUX30, ""},
|
||||
{"AUX31", K_AUX31, ""},
|
||||
{"AUX32", K_AUX32, ""},
|
||||
{"LTRIGGER" , K_JOY1 , ""},
|
||||
{"RTRIGGER" , K_JOY2 , ""},
|
||||
{"JOY3" , K_JOY3 , ""},
|
||||
{"JOY4" , K_JOY4 , ""},
|
||||
|
||||
// raw semicolon seperates commands
|
||||
{"SEMICOLON", ';', "" },
|
||||
{NULL, 0, NULL },
|
||||
|
Loading…
Reference in New Issue
Block a user