diff options
| author | alittlepeace <mandyskittie@Gmail.com> | 2021-02-04 21:01:59 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-04 19:01:59 -0800 |
| commit | 1d49076b81379e030a27b2ff96ed2db4b583e003 (patch) | |
| tree | 6bc2b0f94fecee2ab53e7523dd1a6d9d0de2fc15 | |
| parent | f69b652127ffbee3260444bf630c13627b127999 (diff) | |
| download | qmk_firmware-1d49076b81379e030a27b2ff96ed2db4b583e003.tar.gz qmk_firmware-1d49076b81379e030a27b2ff96ed2db4b583e003.zip | |
[Keyboard] Adding YMDK Wings Keyboard (#11693)
* Add files via upload
* Add files via upload
* Update rules.mk
* Update rules.mk
* Update info.json
* Update wings.h
* Update info.json
* Update info.json
* Update info.json
* Update info.json
* Update keyboards/ymdk/wings/info.json
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/ymdk/wings/keymaps/via/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/ymdk/wings/keymaps/via/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/keymaps/via/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/keymaps/via/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/keymaps/via/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/keymaps/default/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/info.json
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/wings.h
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/info.json
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/ymdk/wings/keymaps/default/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
| -rw-r--r-- | keyboards/ymdk/wings/config.h | 64 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/info.json | 86 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/keymaps/via/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/readme.md | 21 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/rules.mk | 22 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/wings.c | 16 | ||||
| -rw-r--r-- | keyboards/ymdk/wings/wings.h | 34 |
9 files changed, 328 insertions, 0 deletions
diff --git a/keyboards/ymdk/wings/config.h b/keyboards/ymdk/wings/config.h new file mode 100644 index 000000000..107fc072f --- /dev/null +++ b/keyboards/ymdk/wings/config.h | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* Copyright 2021 alittlepeace | ||
| 2 | This program is free software: you can redistribute it and/or modify | ||
| 3 | it under the terms of the GNU General Public License as published by | ||
| 4 | the Free Software Foundation, either version 2 of the License, or | ||
| 5 | (at your option) any later version. | ||
| 6 | |||
| 7 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | |||
| 12 | You should have received a copy of the GNU General Public License | ||
| 13 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0x594D // "YM" | ||
| 22 | #define PRODUCT_ID 0x2975 // "WING" | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER YMDK | ||
| 25 | #define PRODUCT WINGS | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 15 | ||
| 30 | |||
| 31 | /* | ||
| 32 | * Keyboard Matrix Assignments | ||
| 33 | * | ||
| 34 | * Change this to how you wired your keyboard | ||
| 35 | * COLS: AVR pins used for columns, left to right | ||
| 36 | * ROWS: AVR pins used for rows, top to bottom | ||
| 37 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 38 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 39 | * | ||
| 40 | */ | ||
| 41 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } | ||
| 42 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 } | ||
| 43 | #define UNUSED_PINS | ||
| 44 | |||
| 45 | /* COL2ROW, ROW2COL*/ | ||
| 46 | #define DIODE_DIRECTION ROW2COL | ||
| 47 | |||
| 48 | #define BACKLIGHT_PIN B6 | ||
| 49 | #define BACKLIGHT_BREATHING | ||
| 50 | #define BACKLIGHT_LEVELS 3 | ||
| 51 | |||
| 52 | #define RGB_DI_PIN E2 | ||
| 53 | #ifdef RGB_DI_PIN | ||
| 54 | #define RGBLED_NUM 14 | ||
| 55 | #define RGBLIGHT_HUE_STEP 8 | ||
| 56 | #define RGBLIGHT_SAT_STEP 8 | ||
| 57 | #define RGBLIGHT_VAL_STEP 8 | ||
| 58 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 59 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 60 | |||
| 61 | #define RGBLIGHT_ANIMATIONS | ||
| 62 | #endif | ||
| 63 | |||
| 64 | |||
diff --git a/keyboards/ymdk/wings/info.json b/keyboards/ymdk/wings/info.json new file mode 100644 index 000000000..b5aaeb959 --- /dev/null +++ b/keyboards/ymdk/wings/info.json | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "YMDK Wings", | ||
| 3 | "url": "http://ymdkey.com/", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 20.25, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0.75, "y":0.25}, | ||
| 11 | {"label":"1", "x":1.75, "y":0.25}, | ||
| 12 | {"label":"2", "x":2.75, "y":0}, | ||
| 13 | {"label":"3", "x":3.75, "y":0.25}, | ||
| 14 | {"label":"4", "x":4.75, "y":0.25}, | ||
| 15 | {"label":"5", "x":5.75, "y":0.25}, | ||
| 16 | {"label":"6", "x":6.75, "y":0.25}, | ||
| 17 | {"label":"7", "x":10, "y":0.25}, | ||
| 18 | {"label":"8", "x":11, "y":0.25}, | ||
| 19 | {"label":"9", "x":12, "y":0.25}, | ||
| 20 | {"label":"0", "x":13, "y":0.25}, | ||
| 21 | {"label":"-", "x":14, "y":0}, | ||
| 22 | {"label":"=", "x":15, "y":0.25}, | ||
| 23 | {"label":"|", "x":16, "y":0.25}, | ||
| 24 | {"label":"Grave", "x":17, "y":0.25}, | ||
| 25 | {"label":"PgUp", "x":18.75, "y":0}, | ||
| 26 | |||
| 27 | |||
| 28 | {"label":"Tab", "x":0.5, "y":1.25, "w":1.5}, | ||
| 29 | {"label":"Q", "x":2, "y":1.25}, | ||
| 30 | {"label":"W", "x":3.25, "y":1.25}, | ||
| 31 | {"label":"E", "x":4.25, "y":1.25}, | ||
| 32 | {"label":"R", "x":5.25, "y":1.25}, | ||
| 33 | {"label":"T", "x":6.25, "y":1.25}, | ||
| 34 | {"label":"Y", "x":9.5, "y":1.25}, | ||
| 35 | {"label":"U", "x":10.5, "y":1.25}, | ||
| 36 | {"label":"I", "x":11.5, "y":1.25}, | ||
| 37 | {"label":"O", "x":12.5, "y":1.25}, | ||
| 38 | {"label":"P", "x":13.75, "y":1.25}, | ||
| 39 | {"label":"{", "x":14.75, "y":1.25}, | ||
| 40 | {"label":"}", "x":15.75, "y":1.25}, | ||
| 41 | {"label":"Backspace", "x":16.75, "y":1.25, "w":1.5}, | ||
| 42 | {"label":"PgDn", "x":19, "y":1}, | ||
| 43 | |||
| 44 | |||
| 45 | {"label":"Caps Lock", "x":0.5, "y":2.25, "w":1.75}, | ||
| 46 | {"label":"A", "x":2.25, "y":2.25}, | ||
| 47 | {"label":"S", "x":3.5, "y":2.25}, | ||
| 48 | {"label":"D", "x":4.5, "y":2.25}, | ||
| 49 | {"label":"F", "x":5.5, "y":2.25}, | ||
| 50 | {"label":"G", "x":6.5, "y":2.25}, | ||
| 51 | {"label":"H", "x":9.75, "y":2.25}, | ||
| 52 | {"label":"J", "x":10.75, "y":2.25}, | ||
| 53 | {"label":"K", "x":11.75, "y":2.25}, | ||
| 54 | {"label":"L", "x":12.75, "y":2.25}, | ||
| 55 | {"label":":", "x":14.25, "y":2.25}, | ||
| 56 | {"label":"\"", "x":15.25, "y":2.25}, | ||
| 57 | {"label":"Enter", "x":16.25, "y":2.25, "w":2.25}, | ||
| 58 | {"label":"Fn", "x":19.25, "y":2}, | ||
| 59 | |||
| 60 | {"label":"Shift", "x":0.5, "y":3.25, "w":2.25}, | ||
| 61 | {"label":"Z", "x":2.75, "y":3.25}, | ||
| 62 | {"label":"X", "x":4, "y":3.25}, | ||
| 63 | {"label":"C", "x":5, "y":3.25}, | ||
| 64 | {"label":"V", "x":6, "y":3.25}, | ||
| 65 | {"label":"B", "x":7, "y":3.25}, | ||
| 66 | {"label":"N", "x":10.25, "y":3.25}, | ||
| 67 | {"label":"M", "x":11.25, "y":3.25}, | ||
| 68 | {"label":"<", "x":12.25, "y":3.25}, | ||
| 69 | {"label":">", "x":14, "y":3.25}, | ||
| 70 | {"label":"?", "x":15, "y":3.25}, | ||
| 71 | {"label":"Shift", "x":16, "y":3.25, "w":1.75}, | ||
| 72 | {"label":"Up", "x":18, "y":3.25}, | ||
| 73 | |||
| 74 | {"label":"Ctrl", "x":0.5, "y":4.25, "w":1.5}, | ||
| 75 | {"label":"Alt", "x":4, "y":4.25, "w":1.5}, | ||
| 76 | {"label":"Space", "x":5.5, "y":4.25, "w":2}, | ||
| 77 | {"label":"Menu", "x":7.5, "y":4.25}, | ||
| 78 | {"label":"Space", "x":10.25, "y":4.25, "w":2.75}, | ||
| 79 | {"label":"Alt", "x":13, "y":4.25, "w":1.5}, | ||
| 80 | {"label":"Left", "x":17, "y":4.25}, | ||
| 81 | {"label":"Down", "x":18, "y":4.25}, | ||
| 82 | {"label":"Right", "x":19, "y":4.25} | ||
| 83 | ] | ||
| 84 | } | ||
| 85 | } | ||
| 86 | } | ||
diff --git a/keyboards/ymdk/wings/keymaps/default/keymap.c b/keyboards/ymdk/wings/keymaps/default/keymap.c new file mode 100644 index 000000000..9b0c07071 --- /dev/null +++ b/keyboards/ymdk/wings/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 alittlepeace | ||
| 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 QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_all( | ||
| 20 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, | ||
| 21 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, | ||
| 22 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, MO(1), | ||
| 23 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 24 | KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 25 | ), | ||
| 26 | |||
| 27 | [1] = LAYOUT_all( | ||
| 28 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 33 | ) | ||
| 34 | }; | ||
diff --git a/keyboards/ymdk/wings/keymaps/via/keymap.c b/keyboards/ymdk/wings/keymaps/via/keymap.c new file mode 100644 index 000000000..6e866902f --- /dev/null +++ b/keyboards/ymdk/wings/keymaps/via/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2021 alittlepeace | ||
| 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 QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT_all( | ||
| 21 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, | ||
| 22 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, | ||
| 23 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, MO(1), | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 25 | KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | |||
| 28 | [1] = LAYOUT_all( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 34 | ), | ||
| 35 | |||
| 36 | [2] = LAYOUT_all( | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 42 | ), | ||
| 43 | [3] = LAYOUT_all( | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 49 | ) | ||
| 50 | }; | ||
diff --git a/keyboards/ymdk/wings/keymaps/via/rules.mk b/keyboards/ymdk/wings/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/ymdk/wings/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/ymdk/wings/readme.md b/keyboards/ymdk/wings/readme.md new file mode 100644 index 000000000..35a779963 --- /dev/null +++ b/keyboards/ymdk/wings/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # YMDK Wings | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A keyboard inspired by the Arisu, which is inspired by Lyn's EM7 and TGR Alice | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [alittlepeace](https://github.com/alittlepeace) | ||
| 8 | * Hardware Supported: YMDK Wings | ||
| 9 | * Hardware Availability: [YMDK](https://ymdkey.com/products/ymdk-wings-aluminum-cnc-top-bottom-qmk-pcb-full-assembly-keyboard-jade-navy-cream-switches) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make ymdk/wings:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make ymdk/wings:default:flash | ||
| 18 | |||
| 19 | To reset the board into bootloader mode, hold the key at the top left of the keyboard while connecting the USB cable (also erases persistent settings). | ||
| 20 | |||
| 21 | 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/ymdk/wings/rules.mk b/keyboards/ymdk/wings/rules.mk new file mode 100644 index 000000000..f49426d51 --- /dev/null +++ b/keyboards/ymdk/wings/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/ymdk/wings/wings.c b/keyboards/ymdk/wings/wings.c new file mode 100644 index 000000000..4e696d97b --- /dev/null +++ b/keyboards/ymdk/wings/wings.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 alittlepeace | ||
| 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 "wings.h" | ||
diff --git a/keyboards/ymdk/wings/wings.h b/keyboards/ymdk/wings/wings.h new file mode 100644 index 000000000..d9416157f --- /dev/null +++ b/keyboards/ymdk/wings/wings.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 alittlepeace | ||
| 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 "quantum.h" | ||
| 17 | #pragma once | ||
| 18 | |||
| 19 | |||
| 20 | #define XXX KC_NO | ||
| 21 | #define LAYOUT_all( \ | ||
| 22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k4E, \ | ||
| 23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ | ||
| 24 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2D, k2E, \ | ||
| 25 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, \ | ||
| 26 | k40, k42, k46, k48, k49, k4A, k4B, k4C, k4D \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E}, \ | ||
| 30 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E}, \ | ||
| 31 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, XXX, k2D, k2E}, \ | ||
| 32 | { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, XXX}, \ | ||
| 33 | { k40, XXX, k42, XXX, XXX, XXX, k46, XXX, k48, k49, k4A, k4B, k4C, k4D, k4E} \ | ||
| 34 | } | ||
