summaryrefslogtreecommitdiff
path: root/keyboards/handwired/unk/rev1/rev1.h
diff options
context:
space:
mode:
authorHerpiko Dwi Aguno <herpiko@aguno.xyz>2020-06-30 06:32:59 +0700
committerGitHub <noreply@github.com>2020-06-29 16:32:59 -0700
commit6d6340a82b3ed61f5dd2a40dac78712d7bd736fd (patch)
treeec643d06acf6a4f0635c70d7b96e1397769ce040 /keyboards/handwired/unk/rev1/rev1.h
parent67beec5e94eefade8d22be10a5308373ddb54118 (diff)
downloadqmk_firmware-6d6340a82b3ed61f5dd2a40dac78712d7bd736fd.tar.gz
qmk_firmware-6d6340a82b3ed61f5dd2a40dac78712d7bd736fd.zip
[Keyboard] Add UNK keyboard. (#9571)
* Add UNK keyboard. * Update keyboards/handwired/unk/info.json * Use KC_NO to block out nonexistent matrix positions. * Update keyboards/handwired/unk/readme.md * Update keyboards/handwired/unk/keymaps/default/keymap.c
Diffstat (limited to 'keyboards/handwired/unk/rev1/rev1.h')
-rw-r--r--keyboards/handwired/unk/rev1/rev1.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/handwired/unk/rev1/rev1.h b/keyboards/handwired/unk/rev1/rev1.h
new file mode 100644
index 0000000000..3d20e3e9fc
--- /dev/null
+++ b/keyboards/handwired/unk/rev1/rev1.h
@@ -0,0 +1,30 @@
+#pragma once
+
+#include "unk.h"
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K71, K72, K73, K74, K75, K76, K77, \
+ K10, K11, K12, K13, K14, K15, K16, K80, K81, K82, K83, K84, K85, K86, K87, \
+ K20, K21, K22, K23, K24, K25, K26, K91, K92, K93, K94, K95, K96, K97, \
+ K30, K31, K32, K33, K34, K35, K36, K101, K102, K103, K104, K105, K106, K107, \
+ K40, K41, K42, K43, K44, K45, K112, K113, K114, K115, K116, K117 \
+ ) \
+ { \
+ { K00, K01, K02, K03, K04, K05, K06, K07}, \
+ { K10, K11, K12, K13, K14, K15, K16, KC_NO}, \
+ { K20, K21, K22, K23, K24, K25, K26, KC_NO}, \
+ { K30, K31, K32, K33, K34, K35, K36, KC_NO}, \
+ { K40, K41, K42, K43, K44, K45, KC_NO, KC_NO}, \
+\
+ { KC_NO, K71, K72, K73, K74, K75, K76, K77}, \
+ { K80, K81, K82, K83, K84, K85, K86, K87}, \
+ { KC_NO, K91, K92, K93, K94, K95, K96, K97}, \
+ { KC_NO, K101, K102, K103, K104, K105, K106, K107}, \
+ { KC_NO, KC_NO, K112, K113, K114, K115, K116, K117} \
+ }
+
+/*
+*/
+