diff options
author | Joe Wasson <joe@talljoe.com> | 2020-08-31 22:19:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 22:19:51 -0700 |
commit | 4a6cfb06c5aafb353ddfa056bfa69ae82b5fc894 (patch) | |
tree | bef6cc895bbc6280a400d579eb43cc06f1bbbcba /keyboards/tmo50/tmo50.h | |
parent | a9a2817f3aff389fecf1b4bced52093a175a5a65 (diff) | |
download | qmk_firmware-4a6cfb06c5aafb353ddfa056bfa69ae82b5fc894.tar.gz |
TMO50: use layer_state_set_kb at keyboard level (#10150)
* Change TMO to use layer_state_set_kb as is customary at the keyboard level.
This also factors out `process_indicator_led` to a separate method.
Diffstat (limited to 'keyboards/tmo50/tmo50.h')
-rw-r--r-- | keyboards/tmo50/tmo50.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/tmo50/tmo50.h b/keyboards/tmo50/tmo50.h index df88350f0..444e6ede9 100644 --- a/keyboards/tmo50/tmo50.h +++ b/keyboards/tmo50/tmo50.h @@ -17,6 +17,10 @@ #include "quantum.h" +bool process_indicator_led_kb(layer_state_t state); +__attribute__((weak)) +bool process_indicator_led_user(layer_state_t state); + /* This a shortcut to help you visually see your layout. * * The first section contains all of the arguments representing the physical @@ -51,4 +55,3 @@ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K30, K31, K32, K33, KC_NO, KC_NO, KC_NO, K37, KC_NO, KC_NO, K3A, KC_NO, KC_NO, KC_NO } \ } - |