summaryrefslogtreecommitdiffstats
path: root/keyboards/noxary/268/268.h
diff options
context:
space:
mode:
authorRozakiin <6567067+Rozakiin@users.noreply.github.com>2020-06-24 19:34:55 +0100
committerGitHub <noreply@github.com>2020-06-24 11:34:55 -0700
commit598c392709141a8d9bff1d8ab12fd50ef4f478ae (patch)
tree6fa0e90cef7485821bdab18f255ce2f22e550925 /keyboards/noxary/268/268.h
parent4d218566ccec5b7b9499a351f3acc5442f9f2c6a (diff)
Add VIA support to Noxary 268 (#9449)
* Remove "rev1" from readme.md * Update rules.mk to enable bootmagic, mousekeys, console, command Also disable NKRO * Update USB descriptor, replace ifndef with pragma once, remove RGB * Replace ifndef with pragma once * Add commented led code * Add VIA keymap * Update keyboards/noxary/268/268.c Remove commented code * Update keyboards/noxary/268/keymaps/via/readme.md Flip layout image and title * Update keyboards/noxary/268/rules.mk Remove error in comment * Update keyboards/noxary/268/rules.mk Remove HD44780 rule option * Update keyboards/noxary/268/keymaps/via/rules.mk Replace Link_Time_Optimization with LTO * Update keyboards/noxary/268/readme.md Change Noxary link
Diffstat (limited to 'keyboards/noxary/268/268.h')
-rw-r--r--keyboards/noxary/268/268.h29
1 files changed, 25 insertions, 4 deletions
diff --git a/keyboards/noxary/268/268.h b/keyboards/noxary/268/268.h
index 28565318ad..bef5ff5a0e 100644
--- a/keyboards/noxary/268/268.h
+++ b/keyboards/noxary/268/268.h
@@ -1,11 +1,34 @@
-#ifndef noxary268_H
-#define noxary268_H
+/* Copyright 2020 Rozakiin
+ *
+ * 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"
// readability
#define ____ KC_NO
+/* This a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+
/*
* LAYOUT OPTIONS
*
@@ -79,5 +102,3 @@
{ K300, ____, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, ____, K314, K315 }, \
{ K400, K401, K402, ____, ____, ____, K406, ____, ____, ____, K410, K411, ____, K413, K414, K415 } \
}
-
-#endif