summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/ymd09/keymaps/via
diff options
context:
space:
mode:
authorShadowtrance <teronskyn@gmail.com>2020-05-20 06:28:55 +1000
committerGitHub <noreply@github.com>2020-05-19 21:28:55 +0100
commit494b34b63f84617ddc56ff6dc0395505a33eb24e (patch)
treec55ffb7edfdc13a017e78a4f169cfc1da0c1ead5 /keyboards/ymdk/ymd09/keymaps/via
parent58e3b01f37b35cdf77fb44f14765b11215104b24 (diff)
downloadqmk_firmware-494b34b63f84617ddc56ff6dc0395505a33eb24e.tar.gz
qmk_firmware-494b34b63f84617ddc56ff6dc0395505a33eb24e.zip
Add Via support to the YMD09 (#9108)
* Add Via support to the YMD09 * Update keyboards/ymdk/ymd09/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ymdk/ymd09/keymaps/via/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/ymdk/ymd09/keymaps/via')
-rw-r--r--keyboards/ymdk/ymd09/keymaps/via/keymap.c20
-rw-r--r--keyboards/ymdk/ymd09/keymaps/via/rules.mk1
2 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/ymdk/ymd09/keymaps/via/keymap.c b/keyboards/ymdk/ymd09/keymaps/via/keymap.c
new file mode 100644
index 0000000000..e84b587a36
--- /dev/null
+++ b/keyboards/ymdk/ymd09/keymaps/via/keymap.c
@@ -0,0 +1,20 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT(KC_KP_7, KC_KP_8, KC_KP_9,
+ KC_KP_4, LT(1, KC_KP_5), KC_KP_6,
+ KC_KP_1, KC_KP_2, KC_KP_3),
+
+ [1] = LAYOUT(RGB_RMOD, RGB_VAI, RGB_MOD,
+ RGB_HUI, RESET, RGB_SAI,
+ RGB_HUD, RGB_VAD, RGB_SAD),
+
+ [2] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS),
+
+ [3] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS),
+};
diff --git a/keyboards/ymdk/ymd09/keymaps/via/rules.mk b/keyboards/ymdk/ymd09/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/ymdk/ymd09/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes