summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-08-19 17:30:54 -0400
committerpommicket <pommicket@gmail.com>2022-08-19 17:30:54 -0400
commitb37150e7ae111808be79714eba52dad34b975689 (patch)
tree9501f5cbfaa1535e35bd71f1a7d4f72c0121dba6 /config.c
parent81e1801ef0d61fe4e29db8b352b1fadff75503fb (diff)
X1/X2 commands
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 5a52151..4190fe9 100644
--- a/config.c
+++ b/config.c
@@ -107,6 +107,8 @@ static u32 config_parse_key_combo(ConfigReader *cfg, char const *str) {
{"Question Mark", "?", SDL_SCANCODE_SLASH, 1},
{"Question", 0, SDL_SCANCODE_SLASH, 1},
{"Tilde", "~", SDL_SCANCODE_GRAVE, 1},
+ {"X1", "x1", SCANCODE_MOUSE_X1, 0},
+ {"X2", "x2", SCANCODE_MOUSE_X2, 0}
};
// @OPTIMIZE: sort key_names (and split keyname1/2); do a binary search