summaryrefslogtreecommitdiffstats
path: root/keyboards/mode/m65s/m65s.h
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.volpato@usp.br>2021-09-13 18:01:23 -0300
committerGitHub <noreply@github.com>2021-09-14 07:01:23 +1000
commiteee553337a02d64bb5acdeb0a2b13461637409df (patch)
tree04c8a7fc3fea16572f5cf273e4db94b59ccbaa78 /keyboards/mode/m65s/m65s.h
parentca626f59a7fda63b65bf2a8d907af754a9707767 (diff)
Add initial support for M65S (#14027)
* Add initial support for M65S * Remove LTO_ENABLE from rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Removed defs in rules.mk, remove EEPROM debug code in m65s.c Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/mode/m65s/m65s.h')
-rw-r--r--keyboards/mode/m65s/m65s.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/mode/m65s/m65s.h b/keyboards/mode/m65s/m65s.h
new file mode 100644
index 0000000000..3c39f1a85e
--- /dev/null
+++ b/keyboards/mode/m65s/m65s.h
@@ -0,0 +1,37 @@
+/*
+Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
+
+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 ___ KC_NO
+
+#define LAYOUT_all( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, K2F, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \
+ K40, K41, K42, K56, K5A, K5B, K5D, K5E, K5F \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, ___, K1E, K1F }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, ___, K2D, K2E, K2F }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \
+ { K40, K41, K42, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___ }, \
+ { ___, ___, ___, ___, ___, ___, K56, ___, ___, ___, K5A, K5B, ___, K5D, K5E, K5F } \
+}