summaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_4x12/jarred/keymap.c
diff options
context:
space:
mode:
authorJarred Steenvoorden <jazzjarred@gmail.com>2019-07-23 17:07:57 +1000
committerDrashna Jaelre <drashna@live.com>2019-07-23 00:07:57 -0700
commit7ec583e5efb276ce90a40a1df985de7d0d0b8f46 (patch)
treefb71b4879be3f9ec4c7efc0c5240f078890144f2 /layouts/community/ortho_4x12/jarred/keymap.c
parentc966da89da613fe6f2f28cc23e4acbb1f43559aa (diff)
[Keymap] Jarred's Plaid keymap (#6049)
* Add my plaid keymap * Move planck / plaid keymaps to common layout folder
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