From fd3456f362b3cacbd1506f12280dd42e38e98950 Mon Sep 17 00:00:00 2001 From: Garret G <45295190+TheRoyalSweatshirt@users.noreply.github.com> Date: Wed, 29 Apr 2020 05:11:02 -0500 Subject: [PATCH] [Keymap] Add VIA Keymap to RoMac+ Directory (#8966) --- .../kingly_keys/romac_plus/keymaps/via/keymap.c | 17 +++++++++++++++++ .../kingly_keys/romac_plus/keymaps/via/rules.mk | 1 + 2 files changed, 18 insertions(+) create mode 100644 keyboards/kingly_keys/romac_plus/keymaps/via/keymap.c create mode 100644 keyboards/kingly_keys/romac_plus/keymaps/via/rules.mk 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