Merge pull request #121 from spykyvenator/master

More menu keybinds
This commit is contained in:
Dominic Szablewski 2024-03-02 23:13:59 +01:00 committed by GitHub
commit b63b296f11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -544,6 +544,16 @@ void game_init(void) {
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_LEFT, A_MENU_LEFT); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_LEFT, A_MENU_LEFT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_RIGHT, A_MENU_RIGHT); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_RIGHT, A_MENU_RIGHT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_W, A_MENU_UP);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_S, A_MENU_DOWN);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_A, A_MENU_LEFT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_D, A_MENU_RIGHT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_K, A_MENU_UP);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_J, A_MENU_DOWN);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_H, A_MENU_LEFT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_L, A_MENU_RIGHT);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_BACKSPACE, A_MENU_BACK); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_BACKSPACE, A_MENU_BACK);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_C, A_MENU_BACK); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_C, A_MENU_BACK);
input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_V, A_MENU_BACK); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_V, A_MENU_BACK);