summaryrefslogtreecommitdiff
path: root/keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorフィルターペーパー <76888457+filterpaper@users.noreply.github.com>2023-12-24 11:02:29 +0800
committerGitHub <noreply@github.com>2023-12-23 19:02:29 -0800
commitb37d23bfa5f4c46abd08c8eea5625a7f95ca6341 (patch)
treeb41b91b8b183c6b94dda2cc9d95af83e8e94be2b /keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c
parent5050b91068a1b0fe7525600ab19a6da1c939faef (diff)
Refactor: group shandoncodes keyboards (#22743)
Diffstat (limited to 'keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c')
-rw-r--r--keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c b/keyboards/shandoncodes/riot_pad/keymaps/via/keymap.c
new file mode 100644
index 0000000000..0e6eda839e
--- /dev/null
+++ b/keyboards/shandoncodes/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
+ )
+};