From e86ea9f86ecf0cc860d6a9c424354107eff33015 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Wed, 8 Apr 2020 04:21:30 +0200 Subject: [PATCH] Remove unused K_AUX* no idea what this was exactly, but we never generate those so they can't be used anyway --- src/client/cl_keyboard.c | 33 --------------------------------- src/client/header/keyboard.h | 33 --------------------------------- src/client/menu/menu.c | 33 --------------------------------- 3 files changed, 99 deletions(-) diff --git a/src/client/cl_keyboard.c b/src/client/cl_keyboard.c index e64aad1a..bce8c0c8 100644 --- a/src/client/cl_keyboard.c +++ b/src/client/cl_keyboard.c @@ -192,39 +192,6 @@ keyname_t keynames[] = { {"JOY_BACK", K_JOY_BACK}, - {"AUX1", K_AUX1}, - {"AUX2", K_AUX2}, - {"AUX3", K_AUX3}, - {"AUX4", K_AUX4}, - {"AUX5", K_AUX5}, - {"AUX6", K_AUX6}, - {"AUX7", K_AUX7}, - {"AUX8", K_AUX8}, - {"AUX9", K_AUX9}, - {"AUX10", K_AUX10}, - {"AUX11", K_AUX11}, - {"AUX12", K_AUX12}, - {"AUX13", K_AUX13}, - {"AUX14", K_AUX14}, - {"AUX15", K_AUX15}, - {"AUX16", K_AUX16}, - {"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}, - {"KP_HOME", K_KP_HOME}, {"KP_UPARROW", K_KP_UPARROW}, {"KP_PGUP", K_KP_PGUP}, diff --git a/src/client/header/keyboard.h b/src/client/header/keyboard.h index e3c539b5..c3f2a7ef 100644 --- a/src/client/header/keyboard.h +++ b/src/client/header/keyboard.h @@ -212,39 +212,6 @@ enum QKEYS { // add other joystick/controller keys before this one and adjust it accordingly K_JOY_LAST_REGULAR_ALT = K_TRIG_RIGHT_ALT, - K_AUX1, - K_AUX2, - K_AUX3, - K_AUX4, - K_AUX5, - K_AUX6, - K_AUX7, - K_AUX8, - K_AUX9, - K_AUX10, - K_AUX11, - K_AUX12, - K_AUX13, - K_AUX14, - K_AUX15, - K_AUX16, - K_AUX17, - K_AUX18, - K_AUX19, - K_AUX20, - K_AUX21, - K_AUX22, - K_AUX23, - K_AUX24, - K_AUX25, - K_AUX26, - K_AUX27, - K_AUX28, - K_AUX29, - K_AUX30, - K_AUX31, - K_AUX32, - K_SUPER, K_COMPOSE, K_MODE, diff --git a/src/client/menu/menu.c b/src/client/menu/menu.c index 80d28461..c42e9d43 100644 --- a/src/client/menu/menu.c +++ b/src/client/menu/menu.c @@ -281,39 +281,6 @@ Key_GetMenuKey(int key) case K_JOY30: case K_JOY31: - case K_AUX1: - case K_AUX2: - case K_AUX3: - case K_AUX4: - case K_AUX5: - case K_AUX6: - case K_AUX7: - case K_AUX8: - case K_AUX9: - case K_AUX10: - case K_AUX11: - case K_AUX12: - case K_AUX13: - case K_AUX14: - case K_AUX15: - case K_AUX16: - case K_AUX17: - case K_AUX18: - case K_AUX19: - case K_AUX20: - case K_AUX21: - case K_AUX22: - case K_AUX23: - case K_AUX24: - case K_AUX25: - case K_AUX26: - case K_AUX27: - case K_AUX28: - case K_AUX29: - case K_AUX30: - case K_AUX31: - case K_AUX32: - case K_KP_ENTER: case K_ENTER: return K_ENTER;