summaryrefslogtreecommitdiffstats
path: root/keyboards/bm40hsrgb/bm40hsrgb.h
diff options
context:
space:
mode:
authortominabox1 <tom.campie@gmail.com>2020-07-29 22:25:20 -0500
committerGitHub <noreply@github.com>2020-07-29 20:25:20 -0700
commit4f7cd5699e686053620127fefc3b30e237d4aa40 (patch)
tree6a6b466050200c2d4c51e53eb901fc79447ab997 /keyboards/bm40hsrgb/bm40hsrgb.h
parentbf05f773bd53f7bed9ae19eba691b7e7546eef71 (diff)
[Keyboard] Add KPRepublic BM40HSRGB keyboard (#9860)
* Initial Commit * Add readme.md's * Add license statements, cleaned up config, readme, and rules. Removed unused features from keymap and added ascii for Adjust layer * Update keyboards/bm40hsrgb/info.json * Update keyboards/bm40hsrgb/config.h
Diffstat (limited to 'keyboards/bm40hsrgb/bm40hsrgb.h')
-rwxr-xr-xkeyboards/bm40hsrgb/bm40hsrgb.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/bm40hsrgb/bm40hsrgb.h b/keyboards/bm40hsrgb/bm40hsrgb.h
new file mode 100755
index 0000000000..5bde6ec9c5
--- /dev/null
+++ b/keyboards/bm40hsrgb/bm40hsrgb.h
@@ -0,0 +1,30 @@
+/* Copyright 2020 tominabox1
+ *
+ * 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_planck_mit( \
+ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
+ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
+ K300, K301, K302, K303, K304, K305, K307, K308, K309, K310, K311 \
+) { \
+ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
+ { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
+ { K300, K301, K302, K303, K304, K305, KC_NO, K307, K308, K309, K310, K311 } \
+}
+