summaryrefslogtreecommitdiff
path: root/keyboards/pierce
diff options
context:
space:
mode:
authorazhizhinov <azhizhinov@mail.ru>2023-03-11 06:47:03 +0300
committerGitHub <noreply@github.com>2023-03-10 19:47:03 -0800
commit1d04a818d795b264f33b4a8159f46fd726fd3583 (patch)
treed97cd19a71b092d02ed1efb00b4b101c3a076bdd /keyboards/pierce
parentdf814dec7af5e602fc3643b7e8a0e86a7509242d (diff)
[Keyboard] VIA support for Pierce keyboard (#20045)
Diffstat (limited to 'keyboards/pierce')
-rw-r--r--keyboards/pierce/keymaps/via/keymap.c27
-rw-r--r--keyboards/pierce/keymaps/via/rules.mk1
2 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/pierce/keymaps/via/keymap.c b/keyboards/pierce/keymaps/via/keymap.c
new file mode 100644
index 0000000000..2a65a8b04a
--- /dev/null
+++ b/keyboards/pierce/keymaps/via/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2023 durken
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
+ * │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │
+ * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
+ * │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │
+ * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
+ * │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │
+ * └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
+ * ┌───┐ ┌───┐
+ * │GUI├───┐ ┌───┤Alt│
+ * └───┤Bsp├───┐ ┌───┤Ent├───┘
+ * └───┤ │ │ ├───┘
+ * └───┘ └───┘
+ */
+ [0] = LAYOUT_split_3x5_3(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
+ KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT
+ )
+};
diff --git a/keyboards/pierce/keymaps/via/rules.mk b/keyboards/pierce/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/pierce/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes