summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/hexon38/hexon38.h
diff options
context:
space:
mode:
authorJason Pepas <jasonpepas@gmail.com>2019-01-13 06:30:19 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-13 06:30:19 +0100
commit9ef46494b2412061a8e0fff6f10d50e90a7152b0 (patch)
treede39159f46ec340285c00b1719b18347c4f732ea /keyboards/handwired/hexon38/hexon38.h
parentbaaa138e90e5512ac58de7b627d537e6ce4c1197 (diff)
downloadqmk_firmware-9ef46494b2412061a8e0fff6f10d50e90a7152b0.tar.gz
qmk_firmware-9ef46494b2412061a8e0fff6f10d50e90a7152b0.tar.xz
[Keyboard] hexon38 and Dual-role key implementation (#4709)
* initial dual-role key implementation for hexon38 * PR feedback, adding README * Moving to handwired subdir * Additional PR feedback
Diffstat (limited to 'keyboards/handwired/hexon38/hexon38.h')
-rw-r--r--keyboards/handwired/hexon38/hexon38.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/handwired/hexon38/hexon38.h b/keyboards/handwired/hexon38/hexon38.h
new file mode 100644
index 000000000..f98f460fa
--- /dev/null
+++ b/keyboards/handwired/hexon38/hexon38.h
@@ -0,0 +1,17 @@
+// see https://github.com/pepaslabs/hexon38
+
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K002, K003, K004, K005, K006, K007, K008, K009, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
+ K200, K201, K202, K203, K204, K207, K208, K209, K210, K211, \
+ K302, K303, K304, K305, K306, K307, K308, K309 \
+) { \
+ { KC_NO, KC_NO, K002, K003, K004, K005, K006, K007, K008, K009, KC_NO, KC_NO }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
+ { K200, K201, K202, K203, K204, KC_NO, KC_NO, K207, K208, K209, K210, K211 }, \
+ { KC_NO, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \
+}