diff options
| author | Joel Challis <git@zvecr.com> | 2021-08-24 14:28:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-24 14:28:37 +0100 |
| commit | c4dbf4bf0118dd785802861beb247433b5b7411d (patch) | |
| tree | 91e5142e9c280db4fbee6c0d7e64f1abdad79109 /quantum/action.h | |
| parent | c4a2dc9a2d1b0c053272aec7672ab8df92550e88 (diff) | |
| download | qmk_firmware-c4dbf4bf0118dd785802861beb247433b5b7411d.tar.gz qmk_firmware-c4dbf4bf0118dd785802861beb247433b5b7411d.zip | |
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 3d357b33b..4382c7ba4 100644 --- a/quantum/action.h +++ b/quantum/action.h | |||
| @@ -109,6 +109,9 @@ void register_mods(uint8_t mods); | |||
| 109 | void unregister_mods(uint8_t mods); | 109 | void unregister_mods(uint8_t mods); |
| 110 | void register_weak_mods(uint8_t mods); | 110 | void register_weak_mods(uint8_t mods); |
| 111 | void unregister_weak_mods(uint8_t mods); | 111 | void unregister_weak_mods(uint8_t mods); |
| 112 | void register_code16(uint16_t code); | ||
| 113 | void unregister_code16(uint16_t code); | ||
| 114 | void tap_code16(uint16_t code); | ||
| 112 | // void set_mods(uint8_t mods); | 115 | // void set_mods(uint8_t mods); |
| 113 | void clear_keyboard(void); | 116 | void clear_keyboard(void); |
| 114 | void clear_keyboard_but_mods(void); | 117 | void clear_keyboard_but_mods(void); |
| @@ -118,6 +121,8 @@ bool is_tap_key(keypos_t key); | |||
| 118 | bool is_tap_record(keyrecord_t *record); | 121 | bool is_tap_record(keyrecord_t *record); |
| 119 | bool is_tap_action(action_t action); | 122 | bool is_tap_action(action_t action); |
| 120 | 123 | ||
| 124 | uint8_t extract_mod_bits(uint16_t code); | ||
| 125 | |||
| 121 | #ifndef NO_ACTION_TAPPING | 126 | #ifndef NO_ACTION_TAPPING |
| 122 | void process_record_tap_hint(keyrecord_t *record); | 127 | void process_record_tap_hint(keyrecord_t *record); |
| 123 | #endif | 128 | #endif |
