summaryrefslogtreecommitdiff
path: root/keyboards/rad/keymaps
diff options
context:
space:
mode:
authoranubhav dhiman <104914147+anubhavd7@users.noreply.github.com>2022-05-20 10:58:41 +0530
committerGitHub <noreply@github.com>2022-05-19 22:28:41 -0700
commitc7e114e0bb1d8ecb76de632c93db165695f06873 (patch)
tree5a3d6dfcd5a725f1b0107f0bf21c99c91fb60eff /keyboards/rad/keymaps
parent38073c3d44f5e1093a529803cb724b744af91160 (diff)
[Keyboard] add rad keyboard (#17088)
Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/rad/keymaps')
-rw-r--r--keyboards/rad/keymaps/default/keymap.c23
-rw-r--r--keyboards/rad/keymaps/default/readme.md1
-rw-r--r--keyboards/rad/keymaps/via/keymap.c41
-rw-r--r--keyboards/rad/keymaps/via/rules.mk1
4 files changed, 66 insertions, 0 deletions
diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c
new file mode 100644
index 0000000000..a4f0291040
--- /dev/null
+++ b/keyboards/rad/keymaps/default/keymap.c
@@ -0,0 +1,23 @@
+/*
+ * 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC),
+};
diff --git a/keyboards/rad/keymaps/default/readme.md b/keyboards/rad/keymaps/default/readme.md
new file mode 100644
index 0000000000..e3562e4f0b
--- /dev/null
+++ b/keyboards/rad/keymaps/default/readme.md
@@ -0,0 +1 @@
+# rad - Default layout
diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c
new file mode 100644
index 0000000000..c994bcc079
--- /dev/null
+++ b/keyboards/rad/keymaps/via/keymap.c
@@ -0,0 +1,41 @@
+/*
+ * 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC,
+ KC_SPC, KC_SPC, KC_SPC),
+ [1] = LAYOUT(
+ _______, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+ [2] = LAYOUT(
+ _______, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+ [3] = LAYOUT(
+ _______, _______,
+ _______, _______, _______,
+ _______, _______, _______,
+ _______, _______, _______
+ )
+};
diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk
new file mode 100644
index 0000000000..69de2e4c5a
--- /dev/null
+++ b/keyboards/rad/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes