summaryrefslogtreecommitdiff
path: root/keyboards/satt/vision/vision.h
diff options
context:
space:
mode:
authorsatt99 <satt99kbd@gmail.com>2020-08-20 03:18:52 +0900
committerGitHub <noreply@github.com>2020-08-19 11:18:52 -0700
commite4a0a5f4e1e1a561939596fff09380dab8434d79 (patch)
treeb1a99bd03779c25574075c3c9c1ebbba2681fafd /keyboards/satt/vision/vision.h
parent993d4058a1537f82ee8eb0006e155ac8c8620af1 (diff)
[Keyboard] Vision keyboard by SatT (#9768)
* Add vision keyboard * Remove bootloader_defs.h * Update keyboards/satt/vision/readme.md * Change Vendor ID * Update keyboards/satt/vision/config.h * Update keyboards/satt/vision/rules.mk * Fix info.json * Apply suggestions from code review * Add license header * Apply suggestions from code review
Diffstat (limited to 'keyboards/satt/vision/vision.h')
-rw-r--r--keyboards/satt/vision/vision.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/satt/vision/vision.h b/keyboards/satt/vision/vision.h
new file mode 100644
index 0000000000..4906d4fcd1
--- /dev/null
+++ b/keyboards/satt/vision/vision.h
@@ -0,0 +1,31 @@
+/* Copyright 2020 SatT
+ *
+ * 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( \
+ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K113, \
+ K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \
+ K301, K303, K305, K306, K307, K309, K310, K313 \
+) { \
+ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, KC_NO, K113 }, \
+ { KC_NO, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
+ { KC_NO, K301, KC_NO, K303, KC_NO, K305, K306, K307, KC_NO, K309, K310, KC_NO, KC_NO, K313 }, \
+}