aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_5x15/wanleg/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ortho_5x15/wanleg/config.h')
-rw-r--r--layouts/community/ortho_5x15/wanleg/config.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/layouts/community/ortho_5x15/wanleg/config.h b/layouts/community/ortho_5x15/wanleg/config.h
index a55fc6a3e..1043986f7 100644
--- a/layouts/community/ortho_5x15/wanleg/config.h
+++ b/layouts/community/ortho_5x15/wanleg/config.h
@@ -1,3 +1,8 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-#endif
+#pragma once
+
+// set top left key as bootloader mode escape key on 5x5 75key layout
+#if defined(KEYBOARD_5x5) && !defined(PRO_MICRO)
+#define QMK_LED B0
+#define QMK_ESC_OUTPUT D7 // usually COL
+#define QMK_ESC_INPUT B2 // usually ROW
+#endif \ No newline at end of file