diff options
| author | QMK Bot <hello@qmk.fm> | 2022-02-12 10:29:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-12 18:29:31 +0000 |
| commit | 63646e8906e062d1c1de3925cba70c4e3426a855 (patch) | |
| tree | 4e91648b77b838e1125cf86331d7e84bde6d07a9 /quantum/action_util.h | |
| parent | afcdd7079c774dec2aa4b7f2d08adf8b7310919b (diff) | |
Format code according to conventions (#16322)
Diffstat (limited to 'quantum/action_util.h')
| -rw-r--r-- | quantum/action_util.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/quantum/action_util.h b/quantum/action_util.h index bfd0a6cf95..6f1f09c4bd 100644 --- a/quantum/action_util.h +++ b/quantum/action_util.h | |||
| @@ -29,11 +29,17 @@ extern report_keyboard_t *keyboard_report; | |||
| 29 | void send_keyboard_report(void); | 29 | void send_keyboard_report(void); |
| 30 | 30 | ||
| 31 | /* key */ | 31 | /* key */ |
| 32 | inline void add_key(uint8_t key) { add_key_to_report(keyboard_report, key); } | 32 | inline void add_key(uint8_t key) { |
| 33 | add_key_to_report(keyboard_report, key); | ||
| 34 | } | ||
| 33 | 35 | ||
| 34 | inline void del_key(uint8_t key) { del_key_from_report(keyboard_report, key); } | 36 | inline void del_key(uint8_t key) { |
| 37 | del_key_from_report(keyboard_report, key); | ||
| 38 | } | ||
| 35 | 39 | ||
| 36 | inline void clear_keys(void) { clear_keys_from_report(keyboard_report); } | 40 | inline void clear_keys(void) { |
| 41 | clear_keys_from_report(keyboard_report); | ||
| 42 | } | ||
| 37 | 43 | ||
| 38 | /* modifier */ | 44 | /* modifier */ |
| 39 | uint8_t get_mods(void); | 45 | uint8_t get_mods(void); |
