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.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dome_key_map.h b/dome_key_map.h
index 76b5f1c..7bd77ca 100644
--- a/dome_key_map.h
+++ b/dome_key_map.h
@@ -24,14 +24,14 @@ typedef enum {
} MapKind;
typedef struct {
- const char *action;
- const ActionKind *kind;
- const HeadphoneButton *in_mode;
-} CKeyActionResult;
-
-typedef struct {
const HeadphoneButton *buttons;
size_t length;
} Trigger;
+typedef struct {
+ const char *action;
+ const ActionKind *kind;
+ const Trigger *in_mode;
+} CKeyActionResult;
+
const CKeyActionResult *c_run_key_action(Trigger trigger, const Trigger *mode);