diff options
| author | Joel Challis | 2021-08-24 15:28:37 +0200 |
|---|---|---|
| committer | GitHub | 2021-08-24 15:28:37 +0200 |
| commit | c4dbf4bf0118dd785802861beb247433b5b7411d (patch) | |
| tree | 91e5142e9c280db4fbee6c0d7e64f1abdad79109 /quantum/action.h | |
| parent | c4a2dc9a2d1b0c053272aec7672ab8df92550e88 (diff) | |
Tidy up quantum.c now some of tmk_core has been merged (#14083)
Diffstat (limited to 'quantum/action.h')
| -rw-r--r-- | quantum/action.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/action.h b/quantum/action.h index 3d357b33b8..4382c7ba4a 100644 --- a/quantum/action.h +++ b/quantum/action.h @@ -109,6 +109,9 @@ void register_mods(uint8_t mods); void unregister_mods(uint8_t mods); void register_weak_mods(uint8_t mods); void unregister_weak_mods(uint8_t mods); +void register_code16(uint16_t code); +void unregister_code16(uint16_t code); +void tap_code16(uint16_t code); // void set_mods(uint8_t mods); void clear_keyboard(void); void clear_keyboard_but_mods(void); @@ -118,6 +121,8 @@ bool is_tap_key(keypos_t key); bool is_tap_record(keyrecord_t *record); bool is_tap_action(action_t action); +uint8_t extract_mod_bits(uint16_t code); + #ifndef NO_ACTION_TAPPING void process_record_tap_hint(keyrecord_t *record); #endif |