diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2022-08-27 23:13:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 23:13:44 -0700 |
commit | efdd4f4d50e09e0f71d09333d15acf197406a09c (patch) | |
tree | 38931d5cc3a958235969031497701857ffc8e105 /keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c | |
parent | 0a3f7e48690bb2b7b008300a54554979a55be19a (diff) |
Clean-up of `#define _ADJUST 16` instances (#18182)
* enum layer_names: 40percentclub/nori default keymap
* enum layer_names: ergotravel default keymap
* enum layer_names: handwired/atreus50 default keymap
* enum layer_names: handwired/ortho5x13 default keymap
* enum layer_names: keebio/levinson default keymap
* enum layer_names: keebio/nyquist default keymap
* enum layer_names: keebio/rorschach default keymap
* enum layer_names: keebio/viterbi default keymap
* enum layer_names: keebio/wavelet default keymap
* enum layer_names: lets_split default keymap
* enum layer_names: maple_computing/launchpad reference keymaps
Update `default` and `default_rgb` keymaps.
* enum layer_names: maple_computing/minidox default keymap
* enum layer_names: miniaxe reference keymaps
Update `default` and `underglow` keymaps.
* enum layer_names: omkbd/ergodash/mini default keymap
* enum layer_names: omkbd/ergodash/rev1 default keymap
* enum layer_names: orthodox default keymap
* enum layer_names: unikeyboard/divergetm2 default keymap
* enum layer_names: woodkeys/scarletbandana default keymap
* add _Static_assert to keymap_introspection.c
Diffstat (limited to 'keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c b/keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c index 707e9fa132..b9cf12cd7e 100644 --- a/keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c +++ b/keyboards/woodkeys/scarletbandana/keymaps/default/keymap.c @@ -20,12 +20,14 @@ extern rgblight_config_t rgblight_config; #endif -#define _QWERTY 0 -#define _COLEMAK 1 -#define _DVORAK 2 -#define _LOWER 3 -#define _RAISE 4 -#define _ADJUST 16 +enum layer_names { + _QWERTY, + _COLEMAK, + _DVORAK, + _LOWER, + _RAISE, + _ADJUST +}; enum custom_keycodes { QWERTY = SAFE_RANGE, |