X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Faction.h;h=84201897ff43d5ec527fea0e2bd525f8bbb26c0f;hb=c72981f1e72584af7fc0514feef79b8112622234;hp=8a4736d7bc19cbb833481649b467cc4da109e1ac;hpb=79cfa894afbc0a94ac642f57de905d9afc068ce7;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 8a4736d7..84201897 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -62,13 +62,14 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); void process_action(keyrecord_t *record); void register_code(uint8_t code); void unregister_code(uint8_t code); +void type_code(uint8_t code); void register_mods(uint8_t mods); void unregister_mods(uint8_t mods); //void set_mods(uint8_t mods); void clear_keyboard(void); void clear_keyboard_but_mods(void); void layer_switch(uint8_t new_layer); -bool is_tap_key(keypos_t key); +bool is_tap_key(keyevent_t event); /* debug */ void debug_event(keyevent_t event);