aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/knops/mini/mini.h
diff options
context:
space:
mode:
authorGravatar Pawnerd <Pawnerd@users.noreply.github.com>2017-11-02 02:24:59 +0100
committerGravatar Jack Humbert <jack.humb@gmail.com>2017-11-01 21:24:59 -0400
commit54a8abd785d46c879dfedb740df782b20521e086 (patch)
treeedb73841a403b54a5ad3ced823201d914dca3e0a /keyboards/knops/mini/mini.h
parentd6ad9787a07288235c9db4a51737f4f8a1a876e5 (diff)
downloadqmk_firmware-54a8abd785d46c879dfedb740df782b20521e086.tar.gz
Added support for Knops Mini (3x2 macropad) keyboard. (#1953)
* Added support for Knops Mini (3x2 macropad) keyboard. * Added better documentation, according to the QMK standards. * Fixed typo. * Changed names of files to comply with QMK standards. * Ignored makefile in keymap. * Removed makefiles and added my credentials in the copyrights.
Diffstat (limited to 'keyboards/knops/mini/mini.h')
-rw-r--r--keyboards/knops/mini/mini.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/knops/mini/mini.h b/keyboards/knops/mini/mini.h
new file mode 100644
index 000000000..c9f74711b
--- /dev/null
+++ b/keyboards/knops/mini/mini.h
@@ -0,0 +1,30 @@
+/* Copyright 2017 Pawnerd
+ *
+ * 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/>.
+ */
+#include "quantum.h"
+
+#ifndef KNOPS_MINI_H
+#define KNOPS_MINI_H
+
+// This a shortcut to help you visually see your layout.
+// The following is an example using the Planck MIT layout
+// The first section contains all of the arguments
+// The second converts the arguments into a two-dimensional array
+#define KEYMAP( \
+ K00, K01, K02, K03, K04, K05 \
+) { \
+ { K00, K01, K02, K03, K04, K05 }, \
+}
+#endif \ No newline at end of file