aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plat.c1
-rw-r--r--plat.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/plat.c b/plat.c
index ef84eda..6669c12 100644
--- a/plat.c
+++ b/plat.c
@@ -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;
}
diff --git a/plat.h b/plat.h
index 687106d..d684f97 100644
--- a/plat.h
+++ b/plat.h
@@ -53,6 +53,7 @@ typedef enum {
btn_down,
btn_shoot,
btn_jump,
+ btn_special,
btn_start,
btn_count
} Btn;