summaryrefslogtreecommitdiff
path: root/keyboards/tokyokeyboard/alix40/alix40.h
diff options
context:
space:
mode:
authorJames <13719009+quadcube@users.noreply.github.com>2021-02-22 11:46:08 +0800
committerGitHub <noreply@github.com>2021-02-21 19:46:08 -0800
commit37e14fd02bd71ffd32fe381b10ce72f2b85b4049 (patch)
treee5840a51cefac215297178ad46d632c71bb9da40 /keyboards/tokyokeyboard/alix40/alix40.h
parent36999494d6eee6d5f7e6795899131a7aca782c32 (diff)
downloadqmk_firmware-37e14fd02bd71ffd32fe381b10ce72f2b85b4049.tar.gz
qmk_firmware-37e14fd02bd71ffd32fe381b10ce72f2b85b4049.zip
[Keyboard] Tokyo Keyboard alix40 initial commit (#11918)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: QuadCube <quadcube@QuadCube-Mac-mini.local>
Diffstat (limited to 'keyboards/tokyokeyboard/alix40/alix40.h')
-rw-r--r--keyboards/tokyokeyboard/alix40/alix40.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/tokyokeyboard/alix40/alix40.h b/keyboards/tokyokeyboard/alix40/alix40.h
new file mode 100644
index 0000000000..4a322a10b4
--- /dev/null
+++ b/keyboards/tokyokeyboard/alix40/alix40.h
@@ -0,0 +1,29 @@
+/*
+Copyright 2021 quadcube <james@quadcube.xyz>
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_40_alix( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
+ K30, K31, K33, K34, K35, K36, K37, K38, K3A, K3B \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
+ { K30, K31, KC_NO, K33, K34, K35, K36, K37, K38, KC_NO, K3A, K3B } \
+}