summaryrefslogtreecommitdiff
path: root/keyboards/handwired/twig/twig50/twig50.h
diff options
context:
space:
mode:
authornodatk <nodatk@gmail.com>2022-10-05 10:40:18 +0900
committerGitHub <noreply@github.com>2022-10-04 18:40:18 -0700
commit3f63bbc7d829d7269e9caa89f128adf86ae5b196 (patch)
treead8d6a7803255362a93d1f73689ea4a86263344a /keyboards/handwired/twig/twig50/twig50.h
parentfe7ac87f1801faf7ae5127c480ca292d05fdc542 (diff)
[Keyboard] Twig50 (#18085)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/twig/twig50/twig50.h')
-rw-r--r--keyboards/handwired/twig/twig50/twig50.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/handwired/twig/twig50/twig50.h b/keyboards/handwired/twig/twig50/twig50.h
new file mode 100644
index 0000000000..771f13e051
--- /dev/null
+++ b/keyboards/handwired/twig/twig50/twig50.h
@@ -0,0 +1,20 @@
+// Copyright 2022 Takeshi Noda (nodatk@gmail.com)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "quantum.h"
+
+#define ___ KC_NO
+
+#define LAYOUT_diag_4x14( \
+ K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
+ K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
+ K30, K31, K32, K34, K35, K37, K38, K39, K3A, K3B, K3D \
+) { \
+ { K00, ___, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
+ { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, ___, K2D }, \
+ { K30, K31, K32, ___, K34, K35, ___, K37, K38, K39, K3A, K3B, ___, K3D } \
+}