diff options
Diffstat (limited to 'keyboards/kingly_keys')
-rw-r--r-- | keyboards/kingly_keys/romac/config.h | 4 | ||||
-rw-r--r-- | keyboards/kingly_keys/romac/keymaps/via/keymap.c | 44 | ||||
-rw-r--r-- | keyboards/kingly_keys/romac/keymaps/via/rules.mk | 1 |
3 files changed, 47 insertions, 2 deletions
diff --git a/keyboards/kingly_keys/romac/config.h b/keyboards/kingly_keys/romac/config.h index da236c500..59b084e8c 100644 --- a/keyboards/kingly_keys/romac/config.h +++ b/keyboards/kingly_keys/romac/config.h | |||
@@ -3,8 +3,8 @@ | |||
3 | #include "config_common.h" | 3 | #include "config_common.h" |
4 | 4 | ||
5 | /* USB Device descriptor parameter */ | 5 | /* USB Device descriptor parameter */ |
6 | #define VENDOR_ID 0xFEED | 6 | #define VENDOR_ID 0x4b4b // "KK" |
7 | #define PRODUCT_ID 0x6060 | 7 | #define PRODUCT_ID 0x0001 |
8 | #define DEVICE_VER 0x0001 | 8 | #define DEVICE_VER 0x0001 |
9 | #define MANUFACTURER TheRoyalSweatshirt | 9 | #define MANUFACTURER TheRoyalSweatshirt |
10 | #define PRODUCT romac | 10 | #define PRODUCT romac |
diff --git a/keyboards/kingly_keys/romac/keymaps/via/keymap.c b/keyboards/kingly_keys/romac/keymaps/via/keymap.c new file mode 100644 index 000000000..833336b53 --- /dev/null +++ b/keyboards/kingly_keys/romac/keymaps/via/keymap.c | |||
@@ -0,0 +1,44 @@ | |||
1 | /* Copyright 2018 Jack Humbert | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | [0] = LAYOUT( | ||
21 | KC_KP_7, KC_KP_8, KC_KP_9, \ | ||
22 | KC_KP_4, KC_KP_5, KC_KP_6, \ | ||
23 | KC_KP_1, KC_KP_2, KC_KP_3, \ | ||
24 | MO(1), KC_KP_0, KC_KP_DOT \ | ||
25 | ), | ||
26 | [1] = LAYOUT( | ||
27 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
28 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
29 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
30 | KC_TRNS, KC_TRNS, KC_TRNS \ | ||
31 | ), | ||
32 | [2] = LAYOUT( | ||
33 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
34 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS \ | ||
37 | ), | ||
38 | [3] = LAYOUT( | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
40 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
41 | KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
42 | KC_TRNS, KC_TRNS, KC_TRNS \ | ||
43 | ) | ||
44 | }; | ||
diff --git a/keyboards/kingly_keys/romac/keymaps/via/rules.mk b/keyboards/kingly_keys/romac/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/kingly_keys/romac/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||