diff options
-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; |