summaryrefslogtreecommitdiffstats
path: root/keyboards/riot_pad/keymaps/via
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/riot_pad/keymaps/via')
-rw-r--r--keyboards/riot_pad/keymaps/via/keymap.c22
-rw-r--r--keyboards/riot_pad/keymaps/via/rules.mk1
2 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/riot_pad/keymaps/via/keymap.c b/keyboards/riot_pad/keymaps/via/keymap.c
new file mode 100644
index 0000000000..0e6eda839e
--- /dev/null
+++ b/keyboards/riot_pad/keymaps/via/keymap.c
@@ -0,0 +1,22 @@
+// Copyright 2023 ShandonCodes (@ShandonCodes)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬────┐
+ * │ A │ B │ C │
+ * ├───┼───┼────┤
+ * │ D │ E │ Fn │
+ * └───┴───┴────┘
+ */
+ [0] = LAYOUT_ortho_2x3(
+ KC_A, KC_B, KC_C,
+ KC_D, KC_E, MO(1)
+ ),
+ [1] = LAYOUT_ortho_2x3(
+ RGB_MOD, RGB_RMOD, RGB_TOG,
+ RGB_VAI, RGB_VAD, KC_TRNS
+ )
+};
diff --git a/keyboards/riot_pad/keymaps/via/rules.mk b/keyboards/riot_pad/keymaps/via/rules.mk
new file mode 100644
index 0000000000..036bd6d1c3
--- /dev/null
+++ b/keyboards/riot_pad/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes \ No newline at end of file