summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2022-08-27 23:13:44 -0700
committerGitHub <noreply@github.com>2022-08-27 23:13:44 -0700
commitefdd4f4d50e09e0f71d09333d15acf197406a09c (patch)
tree38931d5cc3a958235969031497701857ffc8e105 /keyboards/maple_computing
parent0a3f7e48690bb2b7b008300a54554979a55be19a (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/maple_computing')
-rw-r--r--keyboards/maple_computing/launchpad/keymaps/default/keymap.c7
-rw-r--r--keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c8
-rw-r--r--keyboards/maple_computing/minidox/keymaps/default/keymap.c10
3 files changed, 15 insertions, 10 deletions
diff --git a/keyboards/maple_computing/launchpad/keymaps/default/keymap.c b/keyboards/maple_computing/launchpad/keymaps/default/keymap.c
index 62dee131f8..efd67e8c1b 100644
--- a/keyboards/maple_computing/launchpad/keymaps/default/keymap.c
+++ b/keyboards/maple_computing/launchpad/keymaps/default/keymap.c
@@ -6,9 +6,10 @@
6// The underscores don't mean anything - you can have a layer called STUFF or any other name. 6// The underscores don't mean anything - you can have a layer called STUFF or any other name.
7// Layer names don't all need to be of the same length, obviously, and you can also skip them 7// Layer names don't all need to be of the same length, obviously, and you can also skip them
8// entirely and just use numbers. 8// entirely and just use numbers.
9#define _QWERTY 0 9enum layer_names {
10 10 _QWERTY,
11#define _FUNC 15 11 _FUNC
12};
12 13
13// Defines for task manager and such 14// Defines for task manager and such
14#define CALTDEL LCTL(LALT(KC_DEL)) 15#define CALTDEL LCTL(LALT(KC_DEL))
diff --git a/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c b/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
index 529fa91f65..69fb3ce561 100644
--- a/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
+++ b/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
@@ -7,9 +7,11 @@ extern keymap_config_t keymap_config;
7// The underscores don't mean anything - you can have a layer called STUFF or any other name. 7// The underscores don't mean anything - you can have a layer called STUFF or any other name.
8// Layer names don't all need to be of the same length, obviously, and you can also skip them 8// Layer names don't all need to be of the same length, obviously, and you can also skip them
9// entirely and just use numbers. 9// entirely and just use numbers.
10#define _QWERTY 0 10enum layer_names {
11#define _RGB 1 11 _QWERTY,
12#define _FUNC 15 12 _RGB,
13 _FUNC
14};
13 15
14// Defines for task manager and such 16// Defines for task manager and such
15#define CALTDEL LCTL(LALT(KC_DEL)) 17#define CALTDEL LCTL(LALT(KC_DEL))
diff --git a/keyboards/maple_computing/minidox/keymaps/default/keymap.c b/keyboards/maple_computing/minidox/keymaps/default/keymap.c
index 7886eec172..d71e5b6e55 100644
--- a/keyboards/maple_computing/minidox/keymaps/default/keymap.c
+++ b/keyboards/maple_computing/minidox/keymaps/default/keymap.c
@@ -5,10 +5,12 @@
5// The underscores don't mean anything - you can have a layer called STUFF or any other name. 5// The underscores don't mean anything - you can have a layer called STUFF or any other name.
6// Layer names don't all need to be of the same length, obviously, and you can also skip them 6// Layer names don't all need to be of the same length, obviously, and you can also skip them
7// entirely and just use numbers. 7// entirely and just use numbers.
8#define _QWERTY 0 8enum layer_names {
9#define _LOWER 1 9 _QWERTY,
10#define _RAISE 2 10 _LOWER,
11#define _ADJUST 16 11 _RAISE,
12 _ADJUST
13};
12 14
13enum custom_keycodes { 15enum custom_keycodes {
14 QWERTY = SAFE_RANGE, 16 QWERTY = SAFE_RANGE,