summaryrefslogtreecommitdiff
path: root/layouts/community/ortho_5x12
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ortho_5x12')
-rw-r--r--layouts/community/ortho_5x12/rs/keymap.c2
-rw-r--r--layouts/community/ortho_5x12/xyverz/config.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/community/ortho_5x12/rs/keymap.c b/layouts/community/ortho_5x12/rs/keymap.c
index f33dcc2536..e4e590669f 100644
--- a/layouts/community/ortho_5x12/rs/keymap.c
+++ b/layouts/community/ortho_5x12/rs/keymap.c
@@ -16,6 +16,7 @@ enum layers {
#define KC_BRDN KC_SLCK
// Used to create a keymap using only KC_ prefixed keys
+#ifndef LAYOUT_kc
#define LAYOUT_kc( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
@@ -30,6 +31,7 @@ enum layers {
KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35, KC_##k36, KC_##k37, KC_##k38, KC_##k39, KC_##k3a, KC_##k3b, \
KC_##k40, KC_##k41, KC_##k42, KC_##k43, KC_##k44, KC_##k45, KC_##k46, KC_##k47, KC_##k48, KC_##k49, KC_##k4a, KC_##k4b \
)
+#endif
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
diff --git a/layouts/community/ortho_5x12/xyverz/config.h b/layouts/community/ortho_5x12/xyverz/config.h
index 4489c6e5f5..5f9f6e5c11 100644
--- a/layouts/community/ortho_5x12/xyverz/config.h
+++ b/layouts/community/ortho_5x12/xyverz/config.h
@@ -6,7 +6,9 @@
#define BACKLIGHT_LEVELS 8
/* ws2812 RGB LED */
+#ifndef RGBLIGHT_ENABLE
#undef RGB_DI_PIN
+#endif
#if defined(KEYBOARD_preonic_rev2)
#define RGB_DI_PIN B3
#undef RGBLED_NUM