diff options
| author | jels <66403163+Jels-kb@users.noreply.github.com> | 2021-11-20 03:51:21 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-19 09:51:21 -0800 |
| commit | 5c3afe3e6bc40ecda2770a61d8110bfa9b0dd39b (patch) | |
| tree | 77a1a167490c9108bbe236c3310ed89558f3c32c | |
| parent | 817a82378b58ec34b24a71e80f1ac0389aed9d39 (diff) | |
| download | qmk_firmware-5c3afe3e6bc40ecda2770a61d8110bfa9b0dd39b.tar.gz qmk_firmware-5c3afe3e6bc40ecda2770a61d8110bfa9b0dd39b.zip | |
[Keyboard] Add b87 keyboard (#15091)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/winkeyless/b87/b87.c | 19 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/b87.h | 40 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/config.h | 56 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/info.json | 102 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/keymaps/default/keymap.c | 55 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/keymaps/via/config.h | 19 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/keymaps/via/keymap.c | 46 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/readme.md | 23 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/rules.mk | 20 |
10 files changed, 382 insertions, 0 deletions
diff --git a/keyboards/winkeyless/b87/b87.c b/keyboards/winkeyless/b87/b87.c new file mode 100644 index 000000000..46c5ad2bf --- /dev/null +++ b/keyboards/winkeyless/b87/b87.c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | // not much here | ||
| 18 | |||
| 19 | #include "b87.h" | ||
diff --git a/keyboards/winkeyless/b87/b87.h b/keyboards/winkeyless/b87/b87.h new file mode 100644 index 000000000..27ece3857 --- /dev/null +++ b/keyboards/winkeyless/b87/b87.h | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define ___ KC_NO | ||
| 22 | |||
| 23 | |||
| 24 | #define LAYOUT_all( \ | ||
| 25 | K00, K02, K03, K04, K05, K60, K66, K76, K70, K07, K08, K09, K0A, K49, K4A, K3A, \ | ||
| 26 | K10, K11, K12, K13, K14, K15, K61, K67, K77, K71, K16, K17, K18, K19, K1A, K59, K5A, K7B, \ | ||
| 27 | K20, K21, K22, K23, K24, K25, K62, K68, K78, K72, K26, K27, K28, K29, K7E, K7D, K7C, \ | ||
| 28 | K30, K31, K32, K33, K34, K35, K63, K69, K79, K73, K36, K37, K38, K39, \ | ||
| 29 | K40, K53, K41, K42, K43, K44, K45, K64, K6A, K7A, K74, K46, K47, K48, K6C, \ | ||
| 30 | K50, K51, K52, K65, K75, K56, K57, K58, K6E, K6D, K6B \ | ||
| 31 | ){ \ | ||
| 32 | {K00, ___, K02, K03, K04, K05, ___, K07, K08, K09, K0A, ___, ___, ___, ___}, \ | ||
| 33 | {K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, ___, ___, ___, ___}, \ | ||
| 34 | {K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, ___, ___, ___, ___, ___}, \ | ||
| 35 | {K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, ___, ___, ___, ___}, \ | ||
| 36 | {K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, ___, ___, ___, ___}, \ | ||
| 37 | {K50, K51, K52, K53, ___, ___, K56, K57, K58, K59, K5A, ___, ___, ___, ___}, \ | ||
| 38 | {K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C, K6D, K6E}, \ | ||
| 39 | {K70, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, K7C, K7D, K7E} \ | ||
| 40 | } | ||
diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h new file mode 100644 index 000000000..0598ee700 --- /dev/null +++ b/keyboards/winkeyless/b87/config.h | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor paramater */ | ||
| 22 | #define VENDOR_ID 0x20A0 // | ||
| 23 | #define PRODUCT_ID 0x0B87 // B87 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Winkeyless | ||
| 26 | #define PRODUCT B87 // QMK PORT | ||
| 27 | |||
| 28 | /* Define Matrix size */ | ||
| 29 | #define MATRIX_ROWS 8 | ||
| 30 | #define MATRIX_COLS 15 | ||
| 31 | |||
| 32 | /*Define Matrix Pins */ | ||
| 33 | #define MATRIX_ROW_PINS {B5, B4, B3, B2, B1, B0, B6, B7} | ||
| 34 | #define MATRIX_COL_PINS {A0, A1, A2, A3, A4, A5, C5, C4, C3, C2, D7, C6, C7, A7, A6} | ||
| 35 | |||
| 36 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 37 | // RGB effects | ||
| 38 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 41 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 42 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 43 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 44 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 45 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 46 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 47 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 48 | |||
| 49 | /* COL2ROW or ROW2COL */ | ||
| 50 | #define DIODE_DIRECTION COL2ROW | ||
| 51 | |||
| 52 | #define BACKLIGHT_PIN D4 | ||
| 53 | #define BACKLIGHT_LEVELS 3 | ||
| 54 | |||
| 55 | #define LED_CAPS_LOCK_PIN D1 | ||
| 56 | #define LED_SCROLL_LOCK_PIN D6 | ||
diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json new file mode 100644 index 000000000..93721d707 --- /dev/null +++ b/keyboards/winkeyless/b87/info.json | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "B87", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT_all": { | ||
| 7 | "layout": [ | ||
| 8 | { "label": "Esc", "x": 0, "y": 0 }, | ||
| 9 | { "label": "F1", "x": 2, "y": 0 }, | ||
| 10 | { "label": "F2", "x": 3, "y": 0 }, | ||
| 11 | { "label": "F3", "x": 4, "y": 0 }, | ||
| 12 | { "label": "F4", "x": 5, "y": 0 }, | ||
| 13 | { "label": "F5", "x": 6.5, "y": 0 }, | ||
| 14 | { "label": "F6", "x": 7.5, "y": 0 }, | ||
| 15 | { "label": "F7", "x": 8.5, "y": 0 }, | ||
| 16 | { "label": "F8", "x": 9.5, "y": 0 }, | ||
| 17 | { "label": "F9", "x": 11, "y": 0 }, | ||
| 18 | { "label": "F10", "x": 12, "y": 0 }, | ||
| 19 | { "label": "F11", "x": 13, "y": 0 }, | ||
| 20 | { "label": "F12", "x": 14, "y": 0 }, | ||
| 21 | { "label": "PrtSc", "x": 15.25, "y": 0 }, | ||
| 22 | { "label": "Scroll Lock", "x": 16.25, "y": 0 }, | ||
| 23 | { "label": "Pause", "x": 17.25, "y": 0 }, | ||
| 24 | { "label": "~", "x": 0, "y": 1.25 }, | ||
| 25 | { "label": "!", "x": 1, "y": 1.25 }, | ||
| 26 | { "label": "@", "x": 2, "y": 1.25 }, | ||
| 27 | { "label": "#", "x": 3, "y": 1.25 }, | ||
| 28 | { "label": "$", "x": 4, "y": 1.25 }, | ||
| 29 | { "label": "%", "x": 5, "y": 1.25 }, | ||
| 30 | { "label": "^", "x": 6, "y": 1.25 }, | ||
| 31 | { "label": "&", "x": 7, "y": 1.25 }, | ||
| 32 | { "label": "*", "x": 8, "y": 1.25 }, | ||
| 33 | { "label": "(", "x": 9, "y": 1.25 }, | ||
| 34 | { "label": ")", "x": 10, "y": 1.25 }, | ||
| 35 | { "label": "_", "x": 11, "y": 1.25 }, | ||
| 36 | { "label": "+", "x": 12, "y": 1.25 }, | ||
| 37 | { "x": 13, "y": 1.25 }, | ||
| 38 | { "label": "Bksp", "x": 14, "y": 1.25 }, | ||
| 39 | { "label": "Insert", "x": 15.25, "y": 1.25 }, | ||
| 40 | { "label": "Home", "x": 16.25, "y": 1.25 }, | ||
| 41 | { "label": "PgUp", "x": 17.25, "y": 1.25 }, | ||
| 42 | { "label": "Tab", "x": 0, "y": 2.25, "w": 1.5 }, | ||
| 43 | { "label": "Q", "x": 1.5, "y": 2.25 }, | ||
| 44 | { "label": "W", "x": 2.5, "y": 2.25 }, | ||
| 45 | { "label": "E", "x": 3.5, "y": 2.25 }, | ||
| 46 | { "label": "R", "x": 4.5, "y": 2.25 }, | ||
| 47 | { "label": "T", "x": 5.5, "y": 2.25 }, | ||
| 48 | { "label": "Y", "x": 6.5, "y": 2.25 }, | ||
| 49 | { "label": "U", "x": 7.5, "y": 2.25 }, | ||
| 50 | { "label": "I", "x": 8.5, "y": 2.25 }, | ||
| 51 | { "label": "O", "x": 9.5, "y": 2.25 }, | ||
| 52 | { "label": "P", "x": 10.5, "y": 2.25 }, | ||
| 53 | { "label": "{", "x": 11.5, "y": 2.25 }, | ||
| 54 | { "label": "}", "x": 12.5, "y": 2.25 }, | ||
| 55 | { "label": "|", "x": 13.5, "y": 2.25, "w": 1.5 }, | ||
| 56 | { "label": "Delete", "x": 15.25, "y": 2.25 }, | ||
| 57 | { "label": "End", "x": 16.25, "y": 2.25 }, | ||
| 58 | { "label": "PgDn", "x": 17.25, "y": 2.25 }, | ||
| 59 | { "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 }, | ||
| 60 | { "label": "A", "x": 1.75, "y": 3.25 }, | ||
| 61 | { "label": "S", "x": 2.75, "y": 3.25 }, | ||
| 62 | { "label": "D", "x": 3.75, "y": 3.25 }, | ||
| 63 | { "label": "F", "x": 4.75, "y": 3.25 }, | ||
| 64 | { "label": "G", "x": 5.75, "y": 3.25 }, | ||
| 65 | { "label": "H", "x": 6.75, "y": 3.25 }, | ||
| 66 | { "label": "J", "x": 7.75, "y": 3.25 }, | ||
| 67 | { "label": "K", "x": 8.75, "y": 3.25 }, | ||
| 68 | { "label": "L", "x": 9.75, "y": 3.25 }, | ||
| 69 | { "label": ":", "x": 10.75, "y": 3.25 }, | ||
| 70 | { "label": "\"", "x": 11.75, "y": 3.25 }, | ||
| 71 | { "x": 12.75, "y": 3.25 }, | ||
| 72 | { "label": "Enter", "x": 13.75, "y": 3.25, "w": 1.25 }, | ||
| 73 | { "label": "Shift", "x": 0, "y": 4.25, "w": 1.25 }, | ||
| 74 | { "x": 1.25, "y": 4.25 }, | ||
| 75 | { "label": "Z", "x": 2.25, "y": 4.25 }, | ||
| 76 | { "label": "X", "x": 3.25, "y": 4.25 }, | ||
| 77 | { "label": "C", "x": 4.25, "y": 4.25 }, | ||
| 78 | { "label": "V", "x": 5.25, "y": 4.25 }, | ||
| 79 | { "label": "B", "x": 6.25, "y": 4.25 }, | ||
| 80 | { "label": "N", "x": 7.25, "y": 4.25 }, | ||
| 81 | { "label": "M", "x": 8.25, "y": 4.25 }, | ||
| 82 | { "label": "<", "x": 9.25, "y": 4.25 }, | ||
| 83 | { "label": ">", "x": 10.25, "y": 4.25 }, | ||
| 84 | { "label": "?", "x": 11.25, "y": 4.25 }, | ||
| 85 | { "label": "Shift", "x": 12.25, "y": 4.25, "w": 1.75 }, | ||
| 86 | { "x": 14, "y": 4.25 }, | ||
| 87 | { "label": "\u2191", "x": 16.25, "y": 4.25 }, | ||
| 88 | { "label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25 }, | ||
| 89 | { "label": "Win", "x": 1.25, "y": 5.25, "w": 1.25 }, | ||
| 90 | { "label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25 }, | ||
| 91 | { "x": 3.75, "y": 5.25, "w": 6.25 }, | ||
| 92 | { "label": "Alt", "x": 10, "y": 5.25, "w": 1.25 }, | ||
| 93 | { "label": "Win", "x": 11.25, "y": 5.25, "w": 1.25 }, | ||
| 94 | { "label": "Menu", "x": 12.5, "y": 5.25, "w": 1.25 }, | ||
| 95 | { "label": "Ctrl", "x": 13.75, "y": 5.25, "w": 1.25 }, | ||
| 96 | { "label": "\u2190", "x": 15.25, "y": 5.25 }, | ||
| 97 | { "label": "\u2193", "x": 16.25, "y": 5.25 }, | ||
| 98 | { "label": "\u2192", "x": 17.25, "y": 5.25 } | ||
| 99 | ] | ||
| 100 | } | ||
| 101 | } | ||
| 102 | } | ||
diff --git a/keyboards/winkeyless/b87/keymaps/default/keymap.c b/keyboards/winkeyless/b87/keymaps/default/keymap.c new file mode 100644 index 000000000..4b48b09fe --- /dev/null +++ b/keyboards/winkeyless/b87/keymaps/default/keymap.c | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | |||
| 22 | //base layer | ||
| 23 | [0] = LAYOUT_all( | ||
| 24 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
| 25 | KC_GRV, 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_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 26 | 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_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 27 | 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_BSLS, KC_ENT, | ||
| 28 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, | ||
| 29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 30 | ), | ||
| 31 | [1] = LAYOUT_all( | ||
| 32 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | 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, KC_TRNS, | ||
| 36 | 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, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 38 | ), | ||
| 39 | [2] = LAYOUT_all( | ||
| 40 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 42 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | 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, KC_TRNS, | ||
| 44 | 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, KC_TRNS, KC_TRNS, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 46 | ), | ||
| 47 | [3] = LAYOUT_all( | ||
| 48 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 50 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 51 | 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, KC_TRNS, | ||
| 52 | 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, KC_TRNS, KC_TRNS, | ||
| 53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 54 | ) | ||
| 55 | }; \ No newline at end of file | ||
diff --git a/keyboards/winkeyless/b87/keymaps/via/config.h b/keyboards/winkeyless/b87/keymaps/via/config.h new file mode 100644 index 000000000..ce14d2874 --- /dev/null +++ b/keyboards/winkeyless/b87/keymaps/via/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | ||
diff --git a/keyboards/winkeyless/b87/keymaps/via/keymap.c b/keyboards/winkeyless/b87/keymaps/via/keymap.c new file mode 100644 index 000000000..2dc289018 --- /dev/null +++ b/keyboards/winkeyless/b87/keymaps/via/keymap.c | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 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 | |||
| 21 | //base layer | ||
| 22 | [0] = LAYOUT_all( | ||
| 23 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
| 24 | KC_GRV, 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_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 25 | 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_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 26 | 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_BSLS, KC_ENT, | ||
| 27 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, | ||
| 28 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 29 | ), | ||
| 30 | [1] = LAYOUT_all( | ||
| 31 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | 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, KC_TRNS, | ||
| 35 | 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, KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 37 | ), | ||
| 38 | [2] = LAYOUT_all( | ||
| 39 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 40 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 42 | 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, KC_TRNS, | ||
| 43 | 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, KC_TRNS, KC_TRNS, | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 45 | ) | ||
| 46 | }; \ No newline at end of file | ||
diff --git a/keyboards/winkeyless/b87/keymaps/via/rules.mk b/keyboards/winkeyless/b87/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/winkeyless/b87/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/winkeyless/b87/readme.md b/keyboards/winkeyless/b87/readme.md new file mode 100644 index 000000000..ea617f7c8 --- /dev/null +++ b/keyboards/winkeyless/b87/readme.md | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # B87 | ||
| 2 | |||
| 3 | A TKL keyboard with RGB underglow. | ||
| 4 | |||
| 5 | QMK Firmware is not the official firmware for the B.mini. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: QMK Community | ||
| 8 | * Hardware Supported: B87 PCB | ||
| 9 | * Hardware Availability: <https://winkeyless.kr/product/b-87-pcb-x2/> | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make winkeyless/b87:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid)) | ||
| 16 | |||
| 17 | make winkeyless/b87:default:flash | ||
| 18 | |||
| 19 | This firmware can also be flashed onto the KBDFans KBD75 Round 1 Bootmapper Client boards sold during the 2017 and early 2018 timeframe. | ||
| 20 | |||
| 21 | **Reset Key**: Hold down the top left most key located at `K00`, commonly programmed as Escape while plugging in the keyboard. | ||
| 22 | |||
| 23 | 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/winkeyless/b87/rules.mk b/keyboards/winkeyless/b87/rules.mk new file mode 100644 index 000000000..956617481 --- /dev/null +++ b/keyboards/winkeyless/b87/rules.mk | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32a | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = bootloadhid | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = no # 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 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 18 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 19 | AUDIO_ENABLE = no # Audio output | ||
| 20 | WS2812_DRIVER = i2c | ||
