aboutsummaryrefslogtreecommitdiffstats
path: root/dome_key_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'dome_key_map.h')
-rw-r--r--dome_key_map.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dome_key_map.h b/dome_key_map.h
index 88f7abf..4ee30c3 100644
--- a/dome_key_map.h
+++ b/dome_key_map.h
@@ -7,6 +7,12 @@
#include <stdbool.h>
typedef enum {
+ ActionKind_Map,
+ ActionKind_Command,
+ ActionKind_Mode,
+} ActionKind;
+
+typedef enum {
HeadphoneButton_Play,
HeadphoneButton_Up,
HeadphoneButton_Down,
@@ -19,7 +25,7 @@ typedef enum {
typedef struct {
const char *action;
- const MapKind *kind;
+ const ActionKind *kind;
} CKeyActionResult;
typedef struct {