summaryrefslogtreecommitdiff
path: root/layouts/community/ortho_4x12/jarred/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ortho_4x12/jarred/keymap.c')
-rw-r--r--layouts/community/ortho_4x12/jarred/keymap.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/community/ortho_4x12/jarred/keymap.c b/layouts/community/ortho_4x12/jarred/keymap.c
new file mode 100644
index 0000000000..4be5f9ed69
--- /dev/null
+++ b/layouts/community/ortho_4x12/jarred/keymap.c
@@ -0,0 +1,22 @@
+#include QMK_KEYBOARD_H
+#include "jarred.h"
+
+#define LAYOUT_ortho_4x12_wrapper(...) LAYOUT_ortho_4x12(__VA_ARGS__)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_QW] = LAYOUT_ortho_4x12_wrapper(QWERTY_4x12),
+ [_GAME] = LAYOUT_ortho_4x12_wrapper(GAME_4x12),
+ [_LW] = LAYOUT_ortho_4x12_wrapper(LOWER_4x12),
+ [_NV] = LAYOUT_ortho_4x12_wrapper(NAV_4x12),
+ [_NP] = LAYOUT_ortho_4x12_wrapper(NUMPAD_4x12),
+ [_MS] = LAYOUT_ortho_4x12_wrapper(MOUSE_4x12)
+};
+
+#ifdef RGB_MATRIX_ENABLE
+void rgb_matrix_indicators_user(void) {
+ #ifdef KEYBOARD_planck_light
+ // Disable light in middle of 2U position of Planck Light
+ rgb_matrix_set_color(42, 0, 0, 0);
+ #endif
+}
+#endif