summaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_5x10/wanleg
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ortho_5x10/wanleg')
-rw-r--r--layouts/community/ortho_5x10/wanleg/config.h9
-rw-r--r--layouts/community/ortho_5x10/wanleg/keymap.c38
-rw-r--r--layouts/community/ortho_5x10/wanleg/rules.mk3
3 files changed, 50 insertions, 0 deletions
diff --git a/layouts/community/ortho_5x10/wanleg/config.h b/layouts/community/ortho_5x10/wanleg/config.h
new file mode 100644
index 0000000000..2d24f2771b
--- /dev/null
+++ b/layouts/community/ortho_5x10/wanleg/config.h
@@ -0,0 +1,9 @@
+#pragma once
+
+//QMK DFU settings (ProMicro boards)
+// set top left key as bootloader mode escape key on Gherkin
+#if defined(KEYBOARD_5x5)
+#define QMK_LED B0
+#define QMK_ESC_OUTPUT D7 // usually COL
+#define QMK_ESC_INPUT B2 // usually ROW
+#endif
diff --git a/layouts/community/ortho_5x10/wanleg/keymap.c b/layouts/community/ortho_5x10/wanleg/keymap.c
new file mode 100644
index 0000000000..5d06e53ae4
--- /dev/null
+++ b/layouts/community/ortho_5x10/wanleg/keymap.c
@@ -0,0 +1,38 @@
+#include QMK_KEYBOARD_H
+#include "wanleg.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[gGK] = LAYOUT_ortho_5x10_wrapper(
+ _______________Gherkin_NUM_0_______________,
+ _______________Gherkin_Row_0_______________,
+ _______________Gherkin_Row_1_______________,
+ _______________Gherkin_Row_2_______________,
+ _______, _______, _______, gNUMBER, gETCETERA, KC_SPC,gDIRECTION, KC_RGUI, _______, _______
+),
+
+
+[gNUM] = LAYOUT_ortho_5x10_wrapper(
+ _______________Gherkin_NUM_0_______________,
+ _______________Gherkin_NUM_0_______________,
+ _______________Gherkin_NUM_1_______________,
+ _______________Gherkin_NUM_2_______________,
+ _______, _______, _______, _______, _______, KC_ENT, KC_RSFT, KC_RGUI, _______, _______
+),
+
+[gDIR] = LAYOUT_ortho_5x10_wrapper(
+ _______________Gherkin_NUM_0_______________,
+ _______________Gherkin_DIR_0_______________,
+ _______________Gherkin_DIR_1_______________,
+ _______________Gherkin_DIR_2_______________,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+
+[gETC] = LAYOUT_ortho_5x10_wrapper(
+ _______________Gherkin_NUM_0_______________,
+ _______________Gherkin_ETC_0_______________,
+ _______________Gherkin_ETC_1_______________,
+ _______________Gherkin_ETC_2_______________,
+ _______, _______, _______, _______, _______, LALT(LCTL(KC_DEL)), _______, _______, _______, _______
+),
+
+};
diff --git a/layouts/community/ortho_5x10/wanleg/rules.mk b/layouts/community/ortho_5x10/wanleg/rules.mk
new file mode 100644
index 0000000000..90841d2abe
--- /dev/null
+++ b/layouts/community/ortho_5x10/wanleg/rules.mk
@@ -0,0 +1,3 @@
+SWAP_HANDS_ENABLE = no
+
+BOOTLOADER = qmk-dfu \ No newline at end of file