aboutsummaryrefslogtreecommitdiff
path: root/keyboards/riot_pad/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorShandon Anderson <[email protected]>2023-09-18 21:00:11 -0400
committerGitHub <[email protected]>2023-09-18 18:00:11 -0700
commitef31109ad2e70d0f037d8902eb61496d490eba73 (patch)
tree21ebea2e8937c363df4da98f0dce9f8d4453b4ad /keyboards/riot_pad/keymaps/default/keymap.c
parent16f2a3e2f8235b8325fb3acf77801de088782150 (diff)
downloadqmk_firmware-ef31109ad2e70d0f037d8902eb61496d490eba73.tar.gz
qmk_firmware-ef31109ad2e70d0f037d8902eb61496d490eba73.zip
[Keyboard] Add riot pad (#22060)
Co-authored-by: ShandonCodes <[email protected]>
Diffstat (limited to 'keyboards/riot_pad/keymaps/default/keymap.c')
-rw-r--r--keyboards/riot_pad/keymaps/default/keymap.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/riot_pad/keymaps/default/keymap.c b/keyboards/riot_pad/keymaps/default/keymap.c
new file mode 100644
index 0000000000..0e6eda839e
--- /dev/null
+++ b/keyboards/riot_pad/keymaps/default/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
+ )
+};