summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGarret G <45295190+TheRoyalSweatshirt@users.noreply.github.com>2020-04-29 05:11:02 -0500
committerGitHub <noreply@github.com>2020-04-29 03:11:02 -0700
commitfd3456f362b3cacbd1506f12280dd42e38e98950 (patch)
treeee388be7c4d05ffcf0371f4f61cdd0de480cd639
parent812d80efbdc31b874930b635df48c8f365f5398b (diff)
[Keymap] Add VIA Keymap to RoMac+ Directory (#8966)
-rw-r--r--keyboards/kingly_keys/romac_plus/keymaps/via/keymap.c17
-rw-r--r--keyboards/kingly_keys/romac_plus/keymaps/via/rules.mk1
2 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/kingly_keys/romac_plus/keymaps/via/keymap.c b/keyboards/kingly_keys/romac_plus/keymaps/via/keymap.c
new file mode 100644
index 0000000000..dccaf2e81a
--- /dev/null
+++ b/keyboards/kingly_keys/romac_plus/keymaps/via/keymap.c
@@ -0,0 +1,17 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_7, KC_8, KC_9,
+ KC_4, KC_5, KC_6,
+ KC_1, KC_2, KC_3,
+ MO(1), KC_0, KC_DOT
+ ),
+
+ [1] = LAYOUT(
+ RGB_MOD, KC_HOME, KC_PGUP,
+ KC_TRNS, KC_END, KC_PGDN,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_ENT
+ )
+};
diff --git a/keyboards/kingly_keys/romac_plus/keymaps/via/rules.mk b/keyboards/kingly_keys/romac_plus/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/kingly_keys/romac_plus/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes