diff options
author | Drashna Jaelre <drashna@live.com> | 2020-04-12 08:27:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 17:27:17 +0200 |
commit | 23124b9fd1d667b3457410b771153361e22ae133 (patch) | |
tree | cc5bf6744ff5e02bb0f9c0b0e0a1808be5cc3094 /quantum/quantum.h | |
parent | eb7fc7f9d99231e4c59dee2bef8659b089f4846a (diff) | |
download | qmk_firmware-23124b9fd1d667b3457410b771153361e22ae133.tar.gz |
Fix bug with layer caching in get_event_keycode (#8693)
* Fix bug with layer caching in get_event_keycode
* Improve naming
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 4b94ebcc0..45f44f49a 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -252,8 +252,8 @@ void matrix_init_kb(void); void matrix_scan_kb(void); void matrix_init_user(void); void matrix_scan_user(void); -uint16_t get_record_keycode(keyrecord_t *record); -uint16_t get_event_keycode(keyevent_t event); +uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache); +uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache); bool process_action_kb(keyrecord_t *record); bool process_record_kb(uint16_t keycode, keyrecord_t *record); bool process_record_user(uint16_t keycode, keyrecord_t *record); |