diff options
author | quou <quou@disroot.org> | 2024-10-02 18:09:52 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-02 18:09:52 +1000 |
commit | 911f57c63ec6de6fb5704c97130b65e676b2c16e (patch) | |
tree | 10e2327a59b441ec63f4c6c155816dee9c3e93d5 | |
parent | ea54147679e8a345d4d23f0044df1842a3a49dac (diff) |
special button
-rw-r--r-- | plat.c | 1 | ||||
-rw-r--r-- | plat.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -326,6 +326,7 @@ Btn btn_from_xkey(unsigned key) { case XK_Right: return btn_right; case 0x78: return btn_shoot; case 0x7a: return btn_jump; + case 0x63: return btn_special; case XK_Return: return btn_start; default: return btn_unknown; } @@ -53,6 +53,7 @@ typedef enum { btn_down, btn_shoot, btn_jump, + btn_special, btn_start, btn_count } Btn; |