aboutsummaryrefslogtreecommitdiffstats
path: root/dome_key_map.h
diff options
context:
space:
mode:
authorTeddy Wing2018-09-29 01:19:45 +0200
committerTeddy Wing2018-09-29 01:19:45 +0200
commita6f5f275e781bfa443e69b74a6c776eb6d970ded (patch)
tree828a13eb704c85f54bf104075bb166e3d79a35e1 /dome_key_map.h
parent16cd3895f7b111544927d71904aab912d9abbf59 (diff)
downloaddome-key-map-a6f5f275e781bfa443e69b74a6c776eb6d970ded.tar.bz2
Revert "Try to propagate KeyCodeConvertible from Action to everywhere"
This reverts commit 16cd3895f7b111544927d71904aab912d9abbf59. See that commit message for details.
Diffstat (limited to 'dome_key_map.h')
-rw-r--r--dome_key_map.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dome_key_map.h b/dome_key_map.h
index b8c4b79..dd61a38 100644
--- a/dome_key_map.h
+++ b/dome_key_map.h
@@ -23,7 +23,7 @@ typedef enum {
MapKind_Command,
} MapKind;
-typedef struct State_K State_K;
+typedef struct State State;
typedef struct {
const HeadphoneButton *buttons;
@@ -36,12 +36,12 @@ typedef struct {
const Trigger *in_mode;
} CKeyActionResult;
-const CKeyActionResult *c_run_key_action(State_K *state, Trigger trigger, const Trigger *mode);
+const CKeyActionResult *c_run_key_action(State *state, Trigger trigger, const Trigger *mode);
void logger_init(void);
-void state_free(State_K *ptr);
+void state_free(State *ptr);
-void state_load_map_group(State_K *ptr);
+void state_load_map_group(State *ptr);
-State_K *state_new(void);
+State *state_new(void);