diff options
Diffstat (limited to 'keyboards')
51 files changed, 867 insertions, 136 deletions
diff --git a/keyboards/kingly_keys/little_foot/config.h b/keyboards/kingly_keys/little_foot/config.h new file mode 100644 index 000000000..e0bd0daf9 --- /dev/null +++ b/keyboards/kingly_keys/little_foot/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* Copyright 2019 Garret G. (TheRoyalSweatshirt) | ||
| 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/>.#pragma once | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x6060 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Kingly-Keys | ||
| 26 | #define PRODUCT The Little Foot | ||
| 27 | #define DESCRIPTION A Mighty Small, 45-Percent, Ortholinear Keyboard. | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 10 | ||
| 32 | |||
| 33 | /* key matrix pins */ | ||
| 34 | #define MATRIX_ROW_PINS { F6, B6, B2, B3, B1 } | ||
| 35 | #define MATRIX_COL_PINS { F5, F7, B5, B4, E6, D7, C6, D4, D0, D1 } | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* Set 0 if debouncing isn't needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | #define FORCE_NKRO | ||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 46 | #define LOCKING_SUPPORT_ENABLE | ||
| 47 | |||
| 48 | /* Locking resynchronize hack */ | ||
| 49 | #define LOCKING_RESYNC_ENABLE | ||
| 50 | |||
| 51 | /* ws2812 RGB LED */ | ||
| 52 | #define RGB_DI_PIN F4 | ||
| 53 | #define RGBLED_NUM 10 // Number of LEDs | ||
| 54 | |||
| 55 | #define RGBLIGHT_ANIMATIONS | ||
| 56 | #define RGBLIGHT_HUE_STEP 6 | ||
| 57 | #define RGBLIGHT_SAT_STEP 4 | ||
| 58 | #define RGBLIGHT_VAL_STEP 8 | ||
diff --git a/keyboards/kingly_keys/little_foot/info.json b/keyboards/kingly_keys/little_foot/info.json new file mode 100644 index 000000000..6a8d50894 --- /dev/null +++ b/keyboards/kingly_keys/little_foot/info.json | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Little Foot", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "TheRoyalSweatshirt", | ||
| 5 | "width": 10, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_split_space_base": { | ||
| 9 | "key_count": 44, | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":1.5, "y":4, "w":1.5}, {"x":3, "y":4, "w":2}, {"x":5, "y":4, "w":2}, {"x":7, "y":4, "w":1.5}] | ||
| 11 | }, | ||
| 12 | "LAYOUT_big_space_base": { | ||
| 13 | "key_count": 41, | ||
| 14 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":1.5, "y":4, "w":7}] | ||
| 15 | } | ||
| 16 | } | ||
diff --git a/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c b/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c new file mode 100644 index 000000000..e85e0d6c4 --- /dev/null +++ b/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | |||
| 2 | #include QMK_KEYBOARD_H | ||
| 3 | |||
| 4 | // Layer names | ||
| 5 | enum{ | ||
| 6 | // - Base layer: | ||
| 7 | _BASE, | ||
| 8 | // - Symbols, numbers, and functions: | ||
| 9 | _FN, | ||
| 10 | // - Alternate Function layer: | ||
| 11 | _LN | ||
| 12 | }; | ||
| 13 | |||
| 14 | |||
| 15 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 16 | |||
| 17 | [_BASE] = LAYOUT_split_space_base( | ||
| 18 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 19 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 20 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 21 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, | ||
| 22 | MO(_FN), KC_LSHIFT, KC_SPACE, RGB_MOD | ||
| 23 | ), | ||
| 24 | |||
| 25 | [_FN] = LAYOUT_split_space_base( | ||
| 26 | LT(_LN, KC_ESC), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_BSPC, | ||
| 27 | KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LSFT(KC_MINS), KC_BSLS, | ||
| 28 | KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_QUOT, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_LALT, KC_TRNS, KC_LCTRL | ||
| 31 | ), | ||
| 32 | |||
| 33 | [_LN] = LAYOUT_split_space_base( | ||
| 34 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_TRNS, KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9, | ||
| 35 | KC_TRNS, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_4, KC_5, KC_6, | ||
| 36 | KC_TRNS, KC_F7, KC_F8, KC_F9, KC_TRNS, KC_TRNS, KC_TRNS, KC_1, KC_2, KC_3, | ||
| 37 | KC_TRNS, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 39 | ) | ||
| 40 | }; | ||
diff --git a/keyboards/kingly_keys/little_foot/little_foot.c b/keyboards/kingly_keys/little_foot/little_foot.c new file mode 100644 index 000000000..5513b113a --- /dev/null +++ b/keyboards/kingly_keys/little_foot/little_foot.c | |||
| @@ -0,0 +1 @@ | |||
| #include "little_foot.h" | |||
diff --git a/keyboards/kingly_keys/little_foot/little_foot.h b/keyboards/kingly_keys/little_foot/little_foot.h new file mode 100644 index 000000000..860eaeb8f --- /dev/null +++ b/keyboards/kingly_keys/little_foot/little_foot.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define XXX KC_NO | ||
| 6 | |||
| 7 | #define LAYOUT_split_space_base( \ | ||
| 8 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, \ | ||
| 9 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, \ | ||
| 10 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, \ | ||
| 11 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, \ | ||
| 12 | k42, k46, k47, k49 \ | ||
| 13 | ) \ | ||
| 14 | { \ | ||
| 15 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k010 }, \ | ||
| 16 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k110 }, \ | ||
| 17 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k210 }, \ | ||
| 18 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k310 }, \ | ||
| 19 | { XXX, k42, XXX, XXX, XXX, k46, k47, XXX, k49, XXX } \ | ||
| 20 | } | ||
| 21 | |||
| 22 | #define LAYOUT_big_space_base( \ | ||
| 23 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, \ | ||
| 24 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, \ | ||
| 25 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, \ | ||
| 26 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, \ | ||
| 27 | k46 \ | ||
| 28 | ) \ | ||
| 29 | { \ | ||
| 30 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k010 }, \ | ||
| 31 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k110 }, \ | ||
| 32 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k210 }, \ | ||
| 33 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k310 }, \ | ||
| 34 | { XXX, k42, XXX, XXX, XXX, k46, XXX, XXX, k49, XXX } \ | ||
| 35 | } | ||
diff --git a/keyboards/kingly_keys/little_foot/readme.md b/keyboards/kingly_keys/little_foot/readme.md new file mode 100644 index 000000000..1052952cd --- /dev/null +++ b/keyboards/kingly_keys/little_foot/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Little Foot | ||
| 2 | |||
| 3 |  | ||
| 4 | === | ||
| 5 | |||
| 6 | A mighty small keyboard. | ||
| 7 | |||
| 8 | Keyboard Maintainer: Garret G. - a.k.a. [The_Royal](https://www.reddit.com/user/The_Royal/) on Reddit, and [TheRoyalSweatshirt](https://github.com/TheRoyalSweatshirt) on GitHub | ||
| 9 | Hardware Supported: Little_Foot Rev1.2 & Rev1.4, Pro-Micro, and Elite-C | ||
| 10 | Hardware Availability: Through GB or Direct Message | ||
| 11 | |||
| 12 | Make example for this keyboard (after setting up your build environment): | ||
| 13 | |||
| 14 | make kingly_keys/little_foot:default | ||
| 15 | |||
| 16 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
| 17 | |||
diff --git a/keyboards/kingly_keys/little_foot/rules.mk b/keyboards/kingly_keys/little_foot/rules.mk new file mode 100644 index 000000000..0c3011db9 --- /dev/null +++ b/keyboards/kingly_keys/little_foot/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # atmega32a bootloadHID | ||
| 11 | BOOTLOADER = caterina | ||
| 12 | |||
| 13 | # Build Options | ||
| 14 | # comment out to disable the options. | ||
| 15 | # | ||
| 16 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | ||
| 17 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 18 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 19 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 20 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 21 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 22 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 23 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 24 | AUDIO_ENABLE = no | ||
| 25 | RGBLIGHT_ENABLE = yes | ||
diff --git a/keyboards/romac/config.h b/keyboards/kingly_keys/romac/config.h index da236c500..da236c500 100644 --- a/keyboards/romac/config.h +++ b/keyboards/kingly_keys/romac/config.h | |||
diff --git a/keyboards/romac/info.json b/keyboards/kingly_keys/romac/info.json index 305785991..305785991 100644 --- a/keyboards/romac/info.json +++ b/keyboards/kingly_keys/romac/info.json | |||
diff --git a/keyboards/romac/keymaps/default/keymap.c b/keyboards/kingly_keys/romac/keymaps/default/keymap.c index 35636f36b..44263453d 100644 --- a/keyboards/romac/keymaps/default/keymap.c +++ b/keyboards/kingly_keys/romac/keymaps/default/keymap.c | |||
| @@ -25,13 +25,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | KC_7, KC_8, KC_9, \ | 25 | KC_7, KC_8, KC_9, \ |
| 26 | KC_4, KC_5, KC_6, \ | 26 | KC_4, KC_5, KC_6, \ |
| 27 | KC_1, KC_2, KC_3, \ | 27 | KC_1, KC_2, KC_3, \ |
| 28 | MO(_FN1), KC_0, KC_ENT \ | 28 | MO(1), KC_0, KC_DOT \ |
| 29 | ), | 29 | ), |
| 30 | 30 | ||
| 31 | [_FN1] = LAYOUT( | 31 | [_FN1] = LAYOUT( |
| 32 | KC_TRNS, KC_HOME, KC_PGUP, \ | 32 | KC_TRNS, KC_HOME, KC_PGUP, \ |
| 33 | KC_TRNS, KC_END, KC_PGDN, \ | 33 | KC_TRNS, KC_END, KC_PGDN, \ |
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, \ | 34 | KC_TRNS, KC_TRNS, KC_TRNS, \ |
| 35 | KC_TRNS, KC_TRNS, KC_DOT \ | 35 | KC_TRNS, KC_TRNS, KC_ENT \ |
| 36 | ) | 36 | ) |
| 37 | }; | 37 | }; |
diff --git a/keyboards/romac/keymaps/jarred/keymap.c b/keyboards/kingly_keys/romac/keymaps/jarred/keymap.c index 472e99004..472e99004 100644 --- a/keyboards/romac/keymaps/jarred/keymap.c +++ b/keyboards/kingly_keys/romac/keymaps/jarred/keymap.c | |||
diff --git a/keyboards/romac/keymaps/stanrc85/config.h b/keyboards/kingly_keys/romac/keymaps/stanrc85/config.h index 722fd7e9e..722fd7e9e 100644 --- a/keyboards/romac/keymaps/stanrc85/config.h +++ b/keyboards/kingly_keys/romac/keymaps/stanrc85/config.h | |||
diff --git a/keyboards/romac/keymaps/stanrc85/keymap.c b/keyboards/kingly_keys/romac/keymaps/stanrc85/keymap.c index ecca61cae..ecca61cae 100644 --- a/keyboards/romac/keymaps/stanrc85/keymap.c +++ b/keyboards/kingly_keys/romac/keymaps/stanrc85/keymap.c | |||
diff --git a/keyboards/romac/keymaps/stanrc85/rules.mk b/keyboards/kingly_keys/romac/keymaps/stanrc85/rules.mk index 1e3cebb14..1e3cebb14 100644 --- a/keyboards/romac/keymaps/stanrc85/rules.mk +++ b/keyboards/kingly_keys/romac/keymaps/stanrc85/rules.mk | |||
diff --git a/keyboards/romac/readme.md b/keyboards/kingly_keys/romac/readme.md index 98ed21502..98ed21502 100644 --- a/keyboards/romac/readme.md +++ b/keyboards/kingly_keys/romac/readme.md | |||
diff --git a/keyboards/romac/romac.c b/keyboards/kingly_keys/romac/romac.c index 24f4c1633..24f4c1633 100644 --- a/keyboards/romac/romac.c +++ b/keyboards/kingly_keys/romac/romac.c | |||
diff --git a/keyboards/romac/romac.h b/keyboards/kingly_keys/romac/romac.h index e6fb9694d..e6fb9694d 100644 --- a/keyboards/romac/romac.h +++ b/keyboards/kingly_keys/romac/romac.h | |||
diff --git a/keyboards/kingly_keys/romac/rules.mk b/keyboards/kingly_keys/romac/rules.mk new file mode 100644 index 000000000..1dd9bd658 --- /dev/null +++ b/keyboards/kingly_keys/romac/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # atmega32a bootloadHID | ||
| 11 | BOOTLOADER = caterina | ||
| 12 | |||
| 13 | # Build Options | ||
| 14 | # comment out to disable the options. | ||
| 15 | # | ||
| 16 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration(+1000) | ||
| 17 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 18 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 19 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 20 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 21 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 22 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 23 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 24 | AUDIO_ENABLE = no | ||
| 25 | RGBLIGHT_ENABLE = no | ||
| 26 | |||
diff --git a/keyboards/kingly_keys/romac_plus/config.h b/keyboards/kingly_keys/romac_plus/config.h new file mode 100644 index 000000000..503a463f5 --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/config.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x6060 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER TheRoyalSweatshirt | ||
| 10 | #define PRODUCT RoMac+ | ||
| 11 | #define DESCRIPTION A *Plaid inspired twelve-key macropad with upgraded features | ||
| 12 | /* key matrix size */ | ||
| 13 | #define MATRIX_ROWS 4 | ||
| 14 | #define MATRIX_COLS 3 | ||
| 15 | |||
| 16 | /* key matrix pins */ | ||
| 17 | #define MATRIX_ROW_PINS { C6, D4, D2, D3 } | ||
| 18 | #define MATRIX_COL_PINS { F6, F5, F4 } | ||
| 19 | #define UNUSED_PINS | ||
| 20 | |||
| 21 | #define ENCODERS_PAD_A { B3 } | ||
| 22 | #define ENCODERS_PAD_B { B2 } | ||
| 23 | |||
| 24 | /* COL2ROW or ROW2COL */ | ||
| 25 | #define DIODE_DIRECTION COL2ROW | ||
| 26 | |||
| 27 | /* number of backlight levels */ | ||
| 28 | #define BACKLIGHT_LEVELS 0 | ||
| 29 | |||
| 30 | /* Set 0 if debouncing isn't needed */ | ||
| 31 | #define DEBOUNCE 5 | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 34 | #define LOCKING_SUPPORT_ENABLE | ||
| 35 | |||
| 36 | /* Locking resynchronize hack */ | ||
| 37 | #define LOCKING_RESYNC_ENABLE | ||
| 38 | |||
| 39 | /* ws2812 RGB LED */ | ||
| 40 | #define RGB_DI_PIN F7 | ||
| 41 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 42 | |||
| 43 | #define RGBLIGHT_ANIMATIONS | ||
| 44 | #define RGBLIGHT_HUE_STEP 6 | ||
| 45 | #define RGBLIGHT_SAT_STEP 4 | ||
| 46 | #define RGBLIGHT_VAL_STEP 8 | ||
diff --git a/keyboards/kingly_keys/romac_plus/info.json b/keyboards/kingly_keys/romac_plus/info.json new file mode 100644 index 000000000..5c73db5b2 --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "RoMac+", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "TheRoyalSweatshirt", | ||
| 5 | "width": 3, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 12, | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/kingly_keys/romac_plus/keymaps/default/keymap.c b/keyboards/kingly_keys/romac_plus/keymaps/default/keymap.c new file mode 100644 index 000000000..556af1d1e --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/keymaps/default/keymap.c | |||
| @@ -0,0 +1,65 @@ | |||
| 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 | #define BASE 0 | ||
| 20 | #define FN 1 | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | |||
| 24 | [BASE] = LAYOUT( | ||
| 25 | KC_7, KC_8, KC_9, | ||
| 26 | KC_4, KC_5, KC_6, | ||
| 27 | KC_1, KC_2, KC_3, | ||
| 28 | MO(1), KC_0, KC_DOT | ||
| 29 | ), | ||
| 30 | |||
| 31 | [FN] = LAYOUT( | ||
| 32 | KC_TRNS, KC_HOME, KC_PGUP, | ||
| 33 | KC_TRNS, KC_END, KC_PGDN, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_ENT | ||
| 36 | ) | ||
| 37 | }; | ||
| 38 | |||
| 39 | #ifdef OLED_DRIVER_ENABLE | ||
| 40 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | ||
| 41 | return OLED_ROTATION_270; // flips the display 180 degrees if offhand | ||
| 42 | } | ||
| 43 | |||
| 44 | void oled_task_user(void) { | ||
| 45 | // Host Keyboard Layer Status | ||
| 46 | oled_write_P(PSTR("Let's\nbuild\nsome-\nthing\nto-\nget-\nher!"), false); | ||
| 47 | switch (get_highest_layer(layer_state)) { | ||
| 48 | case BASE: | ||
| 49 | oled_write_ln_P(PSTR(""), false); | ||
| 50 | break; | ||
| 51 | case FN: | ||
| 52 | oled_write_ln_P(PSTR("FN"), false); | ||
| 53 | break; | ||
| 54 | default: | ||
| 55 | // Or use the write_ln shortcut over adding '\n' to the end of your string | ||
| 56 | oled_write_ln_P(PSTR("Undef"), false); | ||
| 57 | } | ||
| 58 | |||
| 59 | // Host Keyboard LED Status | ||
| 60 | uint8_t led_usb_state = host_keyboard_leds(); | ||
| 61 | oled_write_P(IS_LED_ON(led_usb_state, USB_LED_NUM_LOCK) ? PSTR("NLCK ") : PSTR(" "), false); | ||
| 62 | oled_write_P(IS_LED_ON(led_usb_state, USB_LED_CAPS_LOCK) ? PSTR("CAPS ") : PSTR(" "), false); | ||
| 63 | oled_write_P(IS_LED_ON(led_usb_state, USB_LED_SCROLL_LOCK) ? PSTR("SCRLK") : PSTR(" "), false); | ||
| 64 | } | ||
| 65 | #endif | ||
diff --git a/keyboards/kingly_keys/romac_plus/readme.md b/keyboards/kingly_keys/romac_plus/readme.md new file mode 100644 index 000000000..4411701ca --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/readme.md | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | |||
| 2 | # RoMac+ | ||
| 3 | |||
| 4 |  | ||
| 5 | |||
| 6 | An Upgraded “Plaid” Inspired 12-Key (3x4) Macropad With Fancy Features. | ||
| 7 | |||
| 8 | - Keyboard Maintainer: [Garret G.](https://github.com/TheRoyalSweatshirt) | ||
| 9 | - Hardware Supported: RoMac+ Rev3.0, Pro Micro, Elite-C, Proton C, BlueMicro. | ||
| 10 | - Hardware Availability: Through Online Store [Kingly-Keys](https://kingly-keys.xyz/) (Stock Varies). | ||
| 11 | |||
| 12 | Make example for this keyboard (after setting up your build environment): | ||
| 13 | |||
| 14 | make romac_plus:default | ||
| 15 | |||
| 16 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/kingly_keys/romac_plus/romac_plus.c b/keyboards/kingly_keys/romac_plus/romac_plus.c new file mode 100644 index 000000000..1e95f36c7 --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/romac_plus.c | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | #include "romac_plus.h" | ||
| 2 | \ No newline at end of file | ||
diff --git a/keyboards/kingly_keys/romac_plus/romac_plus.h b/keyboards/kingly_keys/romac_plus/romac_plus.h new file mode 100644 index 000000000..e6fb9694d --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/romac_plus.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT( \ | ||
| 6 | K00, K01, K02, \ | ||
| 7 | K10, K11, K12, \ | ||
| 8 | K20, K21, K22, \ | ||
| 9 | K30, K31, K32 \ | ||
| 10 | ) \ | ||
| 11 | { \ | ||
| 12 | { K00, K01, K02 }, \ | ||
| 13 | { K10, K11, K12 }, \ | ||
| 14 | { K20, K21, K22 }, \ | ||
| 15 | { K30, K31, K32 } \ | ||
| 16 | } | ||
diff --git a/keyboards/kingly_keys/romac_plus/rules.mk b/keyboards/kingly_keys/romac_plus/rules.mk new file mode 100644 index 000000000..d0aab2dd1 --- /dev/null +++ b/keyboards/kingly_keys/romac_plus/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | MCU = atmega32u4 | ||
| 2 | |||
| 3 | BOOTLOADER = caterina | ||
| 4 | |||
| 5 | # Build Options | ||
| 6 | # change yes to no to disable | ||
| 7 | # | ||
| 8 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | ||
| 9 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 11 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 13 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 14 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 16 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 17 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 18 | UNICODE_ENABLE = no # Unicode | ||
| 19 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 20 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 21 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 22 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 23 | ENCODER_ENABLE = yes # Enable support for EC11 Rotary Encoder | ||
| 24 | OLED_DRIVER_ENABLE = yes # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C | ||
diff --git a/keyboards/ropro/config.h b/keyboards/kingly_keys/ropro/config.h index 5079217f9..3784ebc62 100644 --- a/keyboards/ropro/config.h +++ b/keyboards/kingly_keys/ropro/config.h | |||
| @@ -53,6 +53,8 @@ | |||
| 53 | /* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */ | 53 | /* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */ |
| 54 | #define RGB_DI_PIN D3 | 54 | #define RGB_DI_PIN D3 |
| 55 | 55 | ||
| 56 | #define RGBLED_NUM 18 | ||
| 57 | |||
| 56 | #define RGBLIGHT_ANIMATIONS | 58 | #define RGBLIGHT_ANIMATIONS |
| 57 | 59 | ||
| 58 | #define RGBLED_NUM 16 | 60 | |
diff --git a/keyboards/ropro/info.json b/keyboards/kingly_keys/ropro/info.json index f7b62f664..f7b62f664 100644 --- a/keyboards/ropro/info.json +++ b/keyboards/kingly_keys/ropro/info.json | |||
diff --git a/keyboards/ropro/keymaps/default/keymap.c b/keyboards/kingly_keys/ropro/keymaps/default/keymap.c index 6e6da8f9a..1bbe1c262 100644 --- a/keyboards/ropro/keymaps/default/keymap.c +++ b/keyboards/kingly_keys/ropro/keymaps/default/keymap.c | |||
| @@ -30,9 +30,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 30 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | 30 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | |
| 31 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 31 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
| 32 | * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | 32 | * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | |
| 33 | * |+------+------+------+------+-----+------+------+------+------+------+------+------|--------------. | 33 | * |+------+------+------+------+-----+------+------+------+------+------+------+------| |
| 34 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | Rotary Click | | 34 | * RotEn | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | |
| 35 | * ,------+------+------+------+------+------+------+------+------+------+------+------+------|--------------' | 35 | * ,------+------+------+------+------+------+------+------+------+------+------+------+------| |
| 36 | * | PgUp | Ctrl | A | S | D | F | G | H | J | K | L | ; | " | | 36 | * | PgUp | Ctrl | A | S | D | F | G | H | J | K | L | ; | " | |
| 37 | * |------+------+------+------+------+------+-------------+------+------+------+------+------| | 37 | * |------+------+------+------+------+------+-------------+------+------+------+------+------| |
| 38 | * | Lower| Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | 38 | * | Lower| Shift| Z | X | C | V | B | N | M | , | . | / |Enter | |
| @@ -43,9 +43,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 43 | [_BASE] = LAYOUT( | 43 | [_BASE] = LAYOUT( |
| 44 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | 44 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
| 45 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, | 45 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, |
| 46 | KC_CAPS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | 46 | KC_NO, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
| 47 | KC_PGUP, KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | 47 | KC_PGUP, KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, |
| 48 | LOWER, KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 48 | KC_HOME, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, |
| 49 | KC_PGDN, KC_DEL, KC_RCTRL, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, KC_END, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | 49 | KC_PGDN, KC_DEL, KC_RCTRL, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, KC_END, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT |
| 50 | ), | 50 | ), |
| 51 | 51 | ||
| @@ -54,9 +54,9 @@ KC_CAPS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, | |||
| 54 | * |TOGRGB| | | |Sat(-)|Hue(-)|Hue(+)|Sat(+)| | |Brght-|Brght+| | 54 | * |TOGRGB| | | |Sat(-)|Hue(-)|Hue(+)|Sat(+)| | |Brght-|Brght+| |
| 55 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 55 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
| 56 | * | ` | | | | | | | | | | | = | | 56 | * | ` | | | | | | | | | | | = | |
| 57 | * |+------+------+------+------+-----+------+------+------+------+------+------+------|--------------. | 57 | * |+------+------+------+------+-----+------+------+------+------+------+------+------| |
| 58 | * | | | Up | | | | | | | [ | ] | \ | NumLock | | 58 | * RotEn | | | Up | | | | | | | [ | ] | \ | |
| 59 | * ,------+------+------+------+------+------+------+------+------+------+------+------+------|--------------' | 59 | * ,------+------+------+------+------+------+------+------+------+------+------+------+------| |
| 60 | * | Home | | Left | Down |Right | | | | | | | | | | 60 | * | Home | | Left | Down |Right | | | | | | | | | |
| 61 | * |------+------+------+------+------+------+-------------+------+------+------+------+------| | 61 | * |------+------+------+------+------+------+-------------+------+------+------+------+------| |
| 62 | * | | | | | | | | | | | | | | | 62 | * | | | | | | | | | | | | | | |
| @@ -67,7 +67,7 @@ KC_CAPS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, | |||
| 67 | [_LOWER] = LAYOUT( | 67 | [_LOWER] = LAYOUT( |
| 68 | RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAD, RGB_HUD, RGB_HUI, RGB_SAI, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, | 68 | RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAD, RGB_HUD, RGB_HUI, RGB_SAI, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, |
| 69 | KC_GRAVE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_EQUAL, | 69 | KC_GRAVE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_EQUAL, |
| 70 | KC_NLCK, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_BSLS, | 70 | KC_NLCK, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_BSLS, |
| 71 | KC_HOME, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 71 | KC_HOME, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| 72 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 72 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| 73 | KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR | 73 | KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR |
diff --git a/keyboards/ropro/keymaps/default/readme.md b/keyboards/kingly_keys/ropro/keymaps/default/readme.md index 5d7ff3dcc..5d7ff3dcc 100644 --- a/keyboards/ropro/keymaps/default/readme.md +++ b/keyboards/kingly_keys/ropro/keymaps/default/readme.md | |||
diff --git a/keyboards/ropro/readme.md b/keyboards/kingly_keys/ropro/readme.md index 0a90c87f8..0a90c87f8 100644 --- a/keyboards/ropro/readme.md +++ b/keyboards/kingly_keys/ropro/readme.md | |||
diff --git a/keyboards/ropro/ropro.c b/keyboards/kingly_keys/ropro/ropro.c index ccb1ed0df..ccb1ed0df 100644 --- a/keyboards/ropro/ropro.c +++ b/keyboards/kingly_keys/ropro/ropro.c | |||
diff --git a/keyboards/ropro/ropro.h b/keyboards/kingly_keys/ropro/ropro.h index cb635cff3..cb635cff3 100644 --- a/keyboards/ropro/ropro.h +++ b/keyboards/kingly_keys/ropro/ropro.h | |||
diff --git a/keyboards/kingly_keys/ropro/rules.mk b/keyboards/kingly_keys/ropro/rules.mk new file mode 100644 index 000000000..0819dbafa --- /dev/null +++ b/keyboards/kingly_keys/ropro/rules.mk | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | |||
| 5 | # Bootloader selection | ||
| 6 | # Teensy halfkay | ||
| 7 | # Pro Micro caterina | ||
| 8 | # Atmel DFU atmel-dfu | ||
| 9 | # LUFA DFU lufa-dfu | ||
| 10 | # QMK DFU qmk-dfu | ||
| 11 | # ATmega32A bootloadHID | ||
| 12 | # ATmega328P USBasp | ||
| 13 | BOOTLOADER = caterina | ||
| 14 | |||
| 15 | |||
| 16 | # Build Options | ||
| 17 | # change yes to no to disable | ||
| 18 | # | ||
| 19 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 20 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 21 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 22 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 23 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 24 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 27 | MIDI_ENABLE = no # MIDI controls | ||
| 28 | UNICODE_ENABLE = no # Unicode | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | ENCODER_ENABLE = yes | ||
| 32 | RGBLIGHT_ENABLE = yes | ||
| 33 | LAYOUTS_HAS_RGB = yes | ||
diff --git a/keyboards/kingly_keys/smd_milk/2_milk.c b/keyboards/kingly_keys/smd_milk/2_milk.c new file mode 100644 index 000000000..95fa50e02 --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/2_milk.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2019 Sebastian Williams | ||
| 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 | #include "smd_milk.h" | ||
diff --git a/keyboards/kingly_keys/smd_milk/2_milk.h b/keyboards/kingly_keys/smd_milk/2_milk.h new file mode 100644 index 000000000..8f294817f --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/2_milk.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* Copyright 2019 Sebastian Williams | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT( \ | ||
| 21 | K00, \ | ||
| 22 | K01 \ | ||
| 23 | ) { \ | ||
| 24 | { K00 }, \ | ||
| 25 | { K01 } \ | ||
| 26 | } | ||
diff --git a/keyboards/kingly_keys/smd_milk/config.h b/keyboards/kingly_keys/smd_milk/config.h new file mode 100644 index 000000000..6e16d373d --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/config.h | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* Copyright 2019 Sebastian Williams | ||
| 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 | #pragma once | ||
| 17 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0xFEED | ||
| 21 | #define PRODUCT_ID 0xB195 | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER Kingly-Keys | ||
| 24 | #define PRODUCT SMD-2% Milk | ||
| 25 | #define DESCRIPTION The SMD Ed. of the Milk themed 2% Keyboard by rionlion100 | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 2 | ||
| 29 | #define MATRIX_COLS 1 | ||
| 30 | |||
| 31 | /* key matrix pins */ | ||
| 32 | #define MATRIX_ROW_PINS { C5, D2 } | ||
| 33 | #define MATRIX_COL_PINS { D3 } | ||
| 34 | #define UNUSED_PINS | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | ||
| 37 | #define DIODE_DIRECTION ROW2COL | ||
| 38 | |||
| 39 | /* Set 0 if debouncing isn't needed */ | ||
| 40 | #define DEBOUNCE 5 | ||
| 41 | #define FORCE_NKRO | ||
| 42 | |||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 44 | #define LOCKING_SUPPORT_ENABLE | ||
| 45 | |||
| 46 | /* Locking resynchronize hack */ | ||
| 47 | #define LOCKING_RESYNC_ENABLE | ||
| 48 | |||
| 49 | /* ws2812 RGB LED */ | ||
| 50 | #define RGB_DI_PIN B3 | ||
| 51 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 52 | |||
| 53 | #define RGBLIGHT_ANIMATIONS | ||
| 54 | #define RGBLIGHT_HUE_STEP 6 | ||
| 55 | #define RGBLIGHT_SAT_STEP 4 | ||
| 56 | #define RGBLIGHT_VAL_STEP 10 \ No newline at end of file | ||
diff --git a/keyboards/kingly_keys/smd_milk/info.json b/keyboards/kingly_keys/smd_milk/info.json new file mode 100644 index 000000000..8d9dbab99 --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/info.json | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "smd_milk", | ||
| 3 | "keyboard_folder": "kinlgy_keys/smd_milk", | ||
| 4 | "url": "", | ||
| 5 | "maintainer": "TheRoyalSweatshirt", | ||
| 6 | "width": 1, | ||
| 7 | "height": 2, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT": { | ||
| 10 | "key_count": 2, | ||
| 11 | "layout": [ {"x": 0, "y": 0 }, {"x": 0, "y": 1 }] | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
| 15 | |||
diff --git a/keyboards/kingly_keys/smd_milk/keymaps/default/keymap.c b/keyboards/kingly_keys/smd_milk/keymaps/default/keymap.c new file mode 100644 index 000000000..22fb9cad6 --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/keymaps/default/keymap.c | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT( | ||
| 5 | KC_HOME, | ||
| 6 | KC_END | ||
| 7 | ) | ||
| 8 | }; | ||
diff --git a/keyboards/kingly_keys/smd_milk/readme.md b/keyboards/kingly_keys/smd_milk/readme.md new file mode 100644 index 000000000..98823d54a --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # 2% Milk | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | An SMD Version of the 2% Meme board themed around a milk carton and love | ||
| 6 | |||
| 7 | Keyboard Maintainer: [Garret G.](https://github.com/TheRoyalSweatshirt) a.k.a. [/u/The_Royal](https://www.reddit.com/user/The_Royal) | ||
| 8 | Hardware Availability: Through GB | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make kingly_keys/smd_milk:default | ||
| 13 | |||
| 14 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
| 15 | |||
| 16 | ### Credits | ||
| 17 | + Original Concept by rionlion100 | ||
| 18 | + Case design by Soft | ||
| 19 | + Original 2% Milk PCB by PyroL | ||
| 20 | + new SMD PCB by The_Royal | ||
| 21 | + Name by jetpacktuxedo | ||
diff --git a/keyboards/kingly_keys/smd_milk/rules.mk b/keyboards/kingly_keys/smd_milk/rules.mk new file mode 100644 index 000000000..815f4866c --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u2 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # comment out to disable the options. | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 18 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 19 | EXTRAKEY_ENABLE = no # Audio control and System control(+450) | ||
| 20 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 21 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 22 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 24 | BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled | ||
| 25 | AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below | ||
| 26 | RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. | ||
diff --git a/keyboards/kingly_keys/smd_milk/smd_milk.c b/keyboards/kingly_keys/smd_milk/smd_milk.c new file mode 100644 index 000000000..95fa50e02 --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/smd_milk.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2019 Sebastian Williams | ||
| 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 | #include "smd_milk.h" | ||
diff --git a/keyboards/kingly_keys/smd_milk/smd_milk.h b/keyboards/kingly_keys/smd_milk/smd_milk.h new file mode 100644 index 000000000..8f294817f --- /dev/null +++ b/keyboards/kingly_keys/smd_milk/smd_milk.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* Copyright 2019 Sebastian Williams | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT( \ | ||
| 21 | K00, \ | ||
| 22 | K01 \ | ||
| 23 | ) { \ | ||
| 24 | { K00 }, \ | ||
| 25 | { K01 } \ | ||
| 26 | } | ||
diff --git a/keyboards/kingly_keys/soap/README.md b/keyboards/kingly_keys/soap/README.md new file mode 100644 index 000000000..0e32244d2 --- /dev/null +++ b/keyboards/kingly_keys/soap/README.md | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | SOAP | ||
| 2 | === | ||
| 3 | |||
| 4 |  | ||
| 5 | |||
| 6 | A Sanitary, "SOAP" Themed, Macro Pad by [Garret G.](https://github.com/TheRoyalSweatshirt) a.k.a. [/u/The_Royal](https://www.reddit.com/user/The_Royal) | ||
| 7 | |||
| 8 | Keyboard Maintainer: [Garret G.](https://github.com/TheRoyalSweatshirt) a.k.a. [/u/The_Royal](https://www.reddit.com/user/The_Royal/) of Reddit. | ||
| 9 | Hardware Supported: SOAP rev1.0, rev2.0 PCB | ||
| 10 | Hardware Availability: [Kingly-Keys.xyz](https://kingly-keys.xyz/) - (Through GB) | ||
| 11 | |||
| 12 | Make example for this keyboard (after setting up your build environment): | ||
| 13 | |||
| 14 | make kingly_keys/soap:default | ||
| 15 | |||
| 16 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs) | ||
diff --git a/keyboards/kingly_keys/soap/config.h b/keyboards/kingly_keys/soap/config.h new file mode 100644 index 000000000..2ffbaacc7 --- /dev/null +++ b/keyboards/kingly_keys/soap/config.h | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* Copyright 2019 Garret G. (TheRoyalSweatshirt) | ||
| 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/>.#pragma once | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0xFEED | ||
| 21 | #define PRODUCT_ID 0x0003 | ||
| 22 | #define DEVICE_VER 0x0004 | ||
| 23 | #define MANUFACTURER Kingly-Keys | ||
| 24 | #define PRODUCT SOAP | ||
| 25 | #define DESCRIPTION A Sanitary "Soap" Themed Macropad with Rotary Encoder | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 2 | ||
| 29 | #define MATRIX_COLS 4 | ||
| 30 | |||
| 31 | #define ENCODERS_PAD_A { D6 } | ||
| 32 | #define ENCODERS_PAD_B { D7 } | ||
| 33 | |||
| 34 | /* key matrix pins */ | ||
| 35 | #define MATRIX_ROW_PINS { C7, C6 } | ||
| 36 | #define MATRIX_COL_PINS { F4, F1, F0, D5 } | ||
| 37 | #define UNUSED_PINS | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | /* Set 0 if debouncing isn't needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 46 | #define LOCKING_SUPPORT_ENABLE | ||
| 47 | |||
| 48 | /* Locking resynchronize hack */ | ||
| 49 | #define LOCKING_RESYNC_ENABLE | ||
| 50 | |||
| 51 | /* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */ | ||
| 52 | #define RGB_DI_PIN B6 | ||
| 53 | #define RGBLIGHT_ANIMATIONS | ||
| 54 | #define RGBLED_NUM 3 | ||
diff --git a/keyboards/kingly_keys/soap/info.json b/keyboards/kingly_keys/soap/info.json new file mode 100644 index 000000000..257391eea --- /dev/null +++ b/keyboards/kingly_keys/soap/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "soap", | ||
| 3 | "url": "https://github.com/TheRoyalSweatshirt/SOAP", | ||
| 4 | "maintainer": "[TheRoyalSweatshirt](https://github.com/TheRoyalSweatshirt)", | ||
| 5 | "width": 4, | ||
| 6 | "height": 2, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 8, | ||
| 10 | "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":4, "y":0}, {"label":"K10", "x":0, "y":1}, {"label":"K11", "x":1, "y":1}, {"label":"K12", "x":2, "y":1}, {"label":"K13", "x":4, "y":1}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/kingly_keys/soap/keymaps/default/keymap.c b/keyboards/kingly_keys/soap/keymaps/default/keymap.c new file mode 100644 index 000000000..03966e42b --- /dev/null +++ b/keyboards/kingly_keys/soap/keymaps/default/keymap.c | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | /* Copyright 2019 Garret G. (TheRoyalSweatshirt) | ||
| 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 | #define BASE 0 | ||
| 20 | #define FN 1 | ||
| 21 | #define RGB RGB_MOD | ||
| 22 | #define XXX KC_NO | ||
| 23 | #define KC_TR KC_TRANSPARENT | ||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* BASE | ||
| 27 | * ,----------------------------------------. | ||
| 28 | * | DEL | UP | ENTER | | RGB | | ||
| 29 | * |-------+-------+-------+-------+--------| | ||
| 30 | * | LEFT | DOWN | RIGHT | | FN | | ||
| 31 | * `----------------------------------------' | ||
| 32 | */ | ||
| 33 | [BASE] = LAYOUT( | ||
| 34 | KC_DEL, KC_UP, KC_ENT, RGB, | ||
| 35 | KC_LEFT, KC_DOWN, KC_RIGHT, MO(1) | ||
| 36 | ), | ||
| 37 | |||
| 38 | /* FN | ||
| 39 | * ,----------------------------------------. | ||
| 40 | * | HU+ | Br+ | Sat+ | | | | ||
| 41 | * |-------+-------+-------+-------+--------| | ||
| 42 | * | HU- | Br- | Sat- | | | | ||
| 43 | * `----------------------------------------' | ||
| 44 | */ | ||
| 45 | [FN] = LAYOUT( | ||
| 46 | RGB_HUI, RGB_VAI, RGB_SAI, KC_TR, | ||
| 47 | RGB_HUD, RGB_VAD, RGB_SAD, KC_TR | ||
| 48 | ) | ||
| 49 | }; | ||
| 50 | |||
| 51 | /* Rotary Encoder Settings: */ | ||
| 52 | /* - Current Value = Horizontal Scrolling */ | ||
| 53 | |||
| 54 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 55 | if (index == 0) { | ||
| 56 | if (clockwise) { | ||
| 57 | tap_code(KC_WH_L); | ||
| 58 | } else { | ||
| 59 | tap_code(KC_WH_R); | ||
| 60 | } | ||
| 61 | } | ||
| 62 | } | ||
diff --git a/keyboards/kingly_keys/soap/rules.mk b/keyboards/kingly_keys/soap/rules.mk new file mode 100644 index 000000000..7e98ab6eb --- /dev/null +++ b/keyboards/kingly_keys/soap/rules.mk | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | |||
| 15 | # Build Options | ||
| 16 | # change yes to no to disable | ||
| 17 | # | ||
| 18 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 19 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 20 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 21 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 22 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 25 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 26 | MIDI_ENABLE = no # MIDI controls | ||
| 27 | UNICODE_ENABLE = no # Unicode | ||
| 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | ENCODER_ENABLE = yes | ||
| 31 | RGBLIGHT_ENABLE = yes | ||
| 32 | LAYOUTS_HAS_RGB = yes | ||
diff --git a/keyboards/kingly_keys/soap/soap.c b/keyboards/kingly_keys/soap/soap.c new file mode 100644 index 000000000..a467c54b7 --- /dev/null +++ b/keyboards/kingly_keys/soap/soap.c | |||
| @@ -0,0 +1 @@ | |||
| #include "soap.h" | |||
diff --git a/keyboards/kingly_keys/soap/soap.h b/keyboards/kingly_keys/soap/soap.h new file mode 100644 index 000000000..8d5eba3ad --- /dev/null +++ b/keyboards/kingly_keys/soap/soap.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /* Copyright 2019 Garret G. (TheRoyalSweatshirt) | ||
| 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 | * Note: Matrix is a little wacky with the rotary encoder click mapping being | ||
| 17 | * on the opposite side of the board. Remember to pay attention to | ||
| 18 | * the 13th column where the lone key mapped for rotary encoder click (K132). | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | #include "quantum.h" | ||
| 24 | |||
| 25 | |||
| 26 | #define LAYOUT( \ | ||
| 27 | K00, K01, K02, K03, \ | ||
| 28 | K10, K11, K12, K13 \ | ||
| 29 | ) { \ | ||
| 30 | { K00, K01, K02, K03 }, \ | ||
| 31 | { K10, K11, K12, K13 } \ | ||
| 32 | } | ||
diff --git a/keyboards/romac/rules.mk b/keyboards/romac/rules.mk deleted file mode 100644 index b500f1b88..000000000 --- a/keyboards/romac/rules.mk +++ /dev/null | |||
| @@ -1,57 +0,0 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | |||
| 40 | # Boot Section Size in *bytes* | ||
| 41 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 42 | |||
| 43 | |||
| 44 | # Build Options | ||
| 45 | # comment out to disable the options. | ||
| 46 | # | ||
| 47 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration(+1000) | ||
| 48 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 49 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 50 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 51 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 52 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 53 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 54 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 55 | AUDIO_ENABLE = no | ||
| 56 | RGBLIGHT_ENABLE = no | ||
| 57 | |||
diff --git a/keyboards/ropro/rules.mk b/keyboards/ropro/rules.mk deleted file mode 100644 index c63f62146..000000000 --- a/keyboards/ropro/rules.mk +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | |||
| 40 | # Bootloader selection | ||
| 41 | # Teensy halfkay | ||
| 42 | # Pro Micro caterina | ||
| 43 | # Atmel DFU atmel-dfu | ||
| 44 | # LUFA DFU lufa-dfu | ||
| 45 | # QMK DFU qmk-dfu | ||
| 46 | # atmega32a bootloadHID | ||
| 47 | BOOTLOADER = caterina | ||
| 48 | |||
| 49 | |||
| 50 | # Build Options | ||
| 51 | # change yes to no to disable | ||
| 52 | # | ||
| 53 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 54 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 55 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 56 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 57 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 58 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 59 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 60 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 61 | MIDI_ENABLE = no # MIDI controls | ||
| 62 | UNICODE_ENABLE = no # Unicode | ||
| 63 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 64 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 65 | ENCODER_ENABLE = yes | ||
| 66 | RGBLIGHT_ENABLE = yes | ||
| 67 | LAYOUTS_HAS_RGB = yes | ||
