summaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_3x10/wanleg/config.h
diff options
context:
space:
mode:
authorwanleg <32079073+wanleg@users.noreply.github.com>2019-05-02 05:29:00 +0200
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-05-02 05:29:00 +0200
commit588b2329cbe3b521475c62d5641c713430d8f188 (patch)
tree55b08b3d8dc4af083a5c6d276e33458798ab4bc0 /layouts/community/ortho_3x10/wanleg/config.h
parent6fa88d981c237f19839b2cc4ca4a0d44f84d2043 (diff)
downloadqmk_firmware-588b2329cbe3b521475c62d5641c713430d8f188.tar.gz
qmk_firmware-588b2329cbe3b521475c62d5641c713430d8f188.tar.xz
Wanleg tuneup / additions (#5752)
* change split keyboard tapping term in userspace * fix 5x15 layout numpad movement * minor changes for Nori setup * edit based on 40percentclub refactor change * fix gherkin due to refactor * kbd6x wanleg keymap * kbd6x edits * kbd6x tweak * fn / backlight layer * fix jj40 rgb hex issue * wanleg gherkin lighting * 4x12 layout cleanup * move kbd6x to new kbdfans directory * minor edit related to new kbdfans directory * mac layout for kbd6x * gherkin flip option * tweak tapping term on lets_split * edit for keebio board coalescing * update user readme with git hints * wanleg miniaxe keymap * testing Permissive Hold instead of Mod Tap Interrupt * wiring names * kbd6x keymap * change default backlight behaviour on kbd6x * userspace underglow * userspace underglow * underglow tweaks * user readme update * more layer underglow tweaks * fix userspace for non-underglow-enabled boards * readme edits * readme edits * readme edits * readme edits * Update readme.md * Update readme.md * readme edits * readme edits * update keymap picture
Diffstat (limited to 'layouts/community/ortho_3x10/wanleg/config.h')
-rw-r--r--layouts/community/ortho_3x10/wanleg/config.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/layouts/community/ortho_3x10/wanleg/config.h b/layouts/community/ortho_3x10/wanleg/config.h
index 6719a4591..dc2245448 100644
--- a/layouts/community/ortho_3x10/wanleg/config.h
+++ b/layouts/community/ortho_3x10/wanleg/config.h
@@ -2,8 +2,25 @@
//QMK DFU settings (ProMicro boards)
// set top left key as bootloader mode escape key on Gherkin
-#if defined(KEYBOARD_gherkin)
+#if defined(KEYBOARD_40percentclub_gherkin) && !defined(FLIP)
#define QMK_LED B0
#define QMK_ESC_OUTPUT B4 // usually COL
#define QMK_ESC_INPUT F7 // usually ROW
#endif
+
+//change gherkin orientation (i.e. move USB port from right side to left side)
+#if defined(KEYBOARD_40percentclub_gherkin) && defined(FLIP)
+//need to fix QMKdfu setting:
+#define QMK_ESC_OUTPUT B6 // usually COL
+#define QMK_ESC_INPUT D0 // usually ROW
+#define QMK_LED B0
+
+//need to undefine standard 4x4 array before defining alternate ProMicro array
+#undef MATRIX_ROW_PINS
+#undef MATRIX_COL_PINS
+//standard config:
+//#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
+//#define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
+#define MATRIX_ROW_PINS { B6, B2, B3, B1, F7 }
+#define MATRIX_COL_PINS { D0, D4, C6, D7, E6, B4 }
+#endif