diff options
author | Drashna Jaelre <drashna@live.com> | 2022-06-18 14:37:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 07:37:51 +1000 |
commit | 0da6562c4df570729889690e21061229c5648b73 (patch) | |
tree | fe4145db4772116d55bf5f9af2502b041a8f31b7 /users/edvorakjp | |
parent | cfcd647b2eec10d510194ca84cd37486fcf44fd4 (diff) | |
download | qmk_firmware-0da6562c4df570729889690e21061229c5648b73.tar.gz qmk_firmware-0da6562c4df570729889690e21061229c5648b73.zip |
Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'users/edvorakjp')
-rw-r--r-- | users/edvorakjp/edvorakjp.c | 2 | ||||
-rw-r--r-- | users/edvorakjp/edvorakjp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/users/edvorakjp/edvorakjp.c b/users/edvorakjp/edvorakjp.c index c44d8bb440..c95b03d981 100644 --- a/users/edvorakjp/edvorakjp.c +++ b/users/edvorakjp/edvorakjp.c @@ -12,7 +12,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { return layer_state_set_keymap(state); } -__attribute__((weak)) uint32_t layer_state_set_keymap(uint32_t state) { return state; } +__attribute__((weak)) layer_state_t layer_state_set_keymap(layer_state_t state) { return state; } bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user_result = process_record_keymap(keycode, record) && process_record_edvorakjp_swap_scln(keycode, record) && process_record_edvorakjp_config(keycode, record) && process_record_layer(keycode, record) && process_record_ime(keycode, record); diff --git a/users/edvorakjp/edvorakjp.h b/users/edvorakjp/edvorakjp.h index 93cd9851b7..a878f71ca8 100644 --- a/users/edvorakjp/edvorakjp.h +++ b/users/edvorakjp/edvorakjp.h @@ -68,7 +68,7 @@ enum tap_dance_code { void matrix_init_user(void); void matrix_init_keymap(void); layer_state_t layer_state_set_user(layer_state_t state); -uint32_t layer_state_set_keymap(uint32_t state); +layer_state_t layer_state_set_keymap(layer_state_t state); bool process_record_user(uint16_t keycode, keyrecord_t *record); bool process_record_keymap(uint16_t keycode, keyrecord_t *record); |