diff options
| author | QMK Bot <hello@qmk.fm> | 2021-11-19 17:51:36 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-11-19 17:51:36 +0000 |
| commit | 070ef07a34ac74b8a077fd7b0689c4cbb345eb85 (patch) | |
| tree | 72f79a457cf5afd69ef43295de83cf76586b25a2 | |
| parent | 8011cbcc5030b27c8a1a3193bd9fcca08511bae8 (diff) | |
| parent | 5c3afe3e6bc40ecda2770a61d8110bfa9b0dd39b (diff) | |
| download | qmk_firmware-070ef07a34ac74b8a077fd7b0689c4cbb345eb85.tar.gz qmk_firmware-070ef07a34ac74b8a077fd7b0689c4cbb345eb85.zip | |
Merge remote-tracking branch 'origin/master' into develop
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/keymaps/default/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/keymaps/iso/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/keymaps/via/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/v2/config.h | 52 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/v2/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/v2/v2.c | 17 | ||||
| -rw-r--r-- | keyboards/ramonimbao/tkl_ff/v2/v2.h | 18 | ||||
| -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 |
18 files changed, 588 insertions, 1 deletions
diff --git a/keyboards/ramonimbao/tkl_ff/keymaps/default/keymap.c b/keyboards/ramonimbao/tkl_ff/keymaps/default/keymap.c index 1d8b938fd..e44b56e55 100644 --- a/keyboards/ramonimbao/tkl_ff/keymaps/default/keymap.c +++ b/keyboards/ramonimbao/tkl_ff/keymaps/default/keymap.c | |||
| @@ -25,3 +25,42 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT |
| 26 | ) | 26 | ) |
| 27 | }; | 27 | }; |
| 28 | |||
| 29 | #ifdef RGBLIGHT_ENABLE | ||
| 30 | const rgblight_segment_t PROGMEM ll_none[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 31 | {0, 1, HSV_OFF}, | ||
| 32 | {1, 1, HSV_OFF} | ||
| 33 | ); | ||
| 34 | |||
| 35 | const rgblight_segment_t PROGMEM ll_cl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 36 | {1, 1, HSV_OFF} | ||
| 37 | ); | ||
| 38 | |||
| 39 | const rgblight_segment_t PROGMEM ll_sl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 40 | {0, 1, HSV_OFF} | ||
| 41 | ); | ||
| 42 | |||
| 43 | const rgblight_segment_t* const PROGMEM rgb_layers[] = RGBLIGHT_LAYERS_LIST(ll_none, ll_cl, ll_sl); | ||
| 44 | |||
| 45 | void keyboard_post_init_kb(void) { | ||
| 46 | rgblight_layers = rgb_layers; | ||
| 47 | |||
| 48 | keyboard_post_init_user(); | ||
| 49 | } | ||
| 50 | |||
| 51 | bool led_update_kb(led_t led_state) { | ||
| 52 | bool res = led_update_user(led_state); | ||
| 53 | |||
| 54 | if (res) { | ||
| 55 | uint8_t lock_bits = led_state.scroll_lock << 1 | led_state.caps_lock; | ||
| 56 | for (uint8_t i=0; i<3; i++) { | ||
| 57 | rgblight_set_layer_state(i, false); | ||
| 58 | } | ||
| 59 | if (lock_bits < 3) { | ||
| 60 | rgblight_set_layer_state(lock_bits, true); | ||
| 61 | } | ||
| 62 | } | ||
| 63 | |||
| 64 | return res; | ||
| 65 | } | ||
| 66 | #endif | ||
diff --git a/keyboards/ramonimbao/tkl_ff/keymaps/iso/keymap.c b/keyboards/ramonimbao/tkl_ff/keymaps/iso/keymap.c index 2729e390d..17997828d 100644 --- a/keyboards/ramonimbao/tkl_ff/keymaps/iso/keymap.c +++ b/keyboards/ramonimbao/tkl_ff/keymaps/iso/keymap.c | |||
| @@ -25,3 +25,42 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT |
| 26 | ) | 26 | ) |
| 27 | }; | 27 | }; |
| 28 | |||
| 29 | #ifdef RGBLIGHT_ENABLE | ||
| 30 | const rgblight_segment_t PROGMEM ll_none[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 31 | {0, 1, HSV_OFF}, | ||
| 32 | {1, 1, HSV_OFF} | ||
| 33 | ); | ||
| 34 | |||
| 35 | const rgblight_segment_t PROGMEM ll_cl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 36 | {1, 1, HSV_OFF} | ||
| 37 | ); | ||
| 38 | |||
| 39 | const rgblight_segment_t PROGMEM ll_sl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 40 | {0, 1, HSV_OFF} | ||
| 41 | ); | ||
| 42 | |||
| 43 | const rgblight_segment_t* const PROGMEM rgb_layers[] = RGBLIGHT_LAYERS_LIST(ll_none, ll_cl, ll_sl); | ||
| 44 | |||
| 45 | void keyboard_post_init_kb(void) { | ||
| 46 | rgblight_layers = rgb_layers; | ||
| 47 | |||
| 48 | keyboard_post_init_user(); | ||
| 49 | } | ||
| 50 | |||
| 51 | bool led_update_kb(led_t led_state) { | ||
| 52 | bool res = led_update_user(led_state); | ||
| 53 | |||
| 54 | if (res) { | ||
| 55 | uint8_t lock_bits = led_state.scroll_lock << 1 | led_state.caps_lock; | ||
| 56 | for (uint8_t i=0; i<3; i++) { | ||
| 57 | rgblight_set_layer_state(i, false); | ||
| 58 | } | ||
| 59 | if (lock_bits < 3) { | ||
| 60 | rgblight_set_layer_state(lock_bits, true); | ||
| 61 | } | ||
| 62 | } | ||
| 63 | |||
| 64 | return res; | ||
| 65 | } | ||
| 66 | #endif | ||
diff --git a/keyboards/ramonimbao/tkl_ff/keymaps/via/keymap.c b/keyboards/ramonimbao/tkl_ff/keymaps/via/keymap.c index d46f3aade..298b7a1fa 100644 --- a/keyboards/ramonimbao/tkl_ff/keymaps/via/keymap.c +++ b/keyboards/ramonimbao/tkl_ff/keymaps/via/keymap.c | |||
| @@ -49,3 +49,42 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 50 | ) | 50 | ) |
| 51 | }; | 51 | }; |
| 52 | |||
| 53 | #ifdef RGBLIGHT_ENABLE | ||
| 54 | const rgblight_segment_t PROGMEM ll_none[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 55 | {0, 1, HSV_OFF}, | ||
| 56 | {1, 1, HSV_OFF} | ||
| 57 | ); | ||
| 58 | |||
| 59 | const rgblight_segment_t PROGMEM ll_cl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 60 | {1, 1, HSV_OFF} | ||
| 61 | ); | ||
| 62 | |||
| 63 | const rgblight_segment_t PROGMEM ll_sl[] = RGBLIGHT_LAYER_SEGMENTS( | ||
| 64 | {0, 1, HSV_OFF} | ||
| 65 | ); | ||
| 66 | |||
| 67 | const rgblight_segment_t* const PROGMEM rgb_layers[] = RGBLIGHT_LAYERS_LIST(ll_none, ll_cl, ll_sl); | ||
| 68 | |||
| 69 | void keyboard_post_init_kb(void) { | ||
| 70 | rgblight_layers = rgb_layers; | ||
| 71 | |||
| 72 | keyboard_post_init_user(); | ||
| 73 | } | ||
| 74 | |||
| 75 | bool led_update_kb(led_t led_state) { | ||
| 76 | bool res = led_update_user(led_state); | ||
| 77 | |||
| 78 | if (res) { | ||
| 79 | uint8_t lock_bits = led_state.scroll_lock << 1 | led_state.caps_lock; | ||
| 80 | for (uint8_t i=0; i<3; i++) { | ||
| 81 | rgblight_set_layer_state(i, false); | ||
| 82 | } | ||
| 83 | if (lock_bits < 3) { | ||
| 84 | rgblight_set_layer_state(lock_bits, true); | ||
| 85 | } | ||
| 86 | } | ||
| 87 | |||
| 88 | return res; | ||
| 89 | } | ||
| 90 | #endif | ||
diff --git a/keyboards/ramonimbao/tkl_ff/readme.md b/keyboards/ramonimbao/tkl_ff/readme.md index 06a64210b..ffc11f585 100644 --- a/keyboards/ramonimbao/tkl_ff/readme.md +++ b/keyboards/ramonimbao/tkl_ff/readme.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | A TKL PCB made for the Geonworks Frog keyboard that supports both F12 and F13. | 5 | A TKL PCB made for the Geonworks Frog keyboard that supports both F12 and F13. V2 simply adds RGB indicator LEDs. |
| 6 | 6 | ||
| 7 | * Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao) | 7 | * Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao) |
| 8 | * Hardware Supported: ATmega32u4 | 8 | * Hardware Supported: ATmega32u4 |
diff --git a/keyboards/ramonimbao/tkl_ff/v2/config.h b/keyboards/ramonimbao/tkl_ff/v2/config.h new file mode 100644 index 000000000..a35d1bc59 --- /dev/null +++ b/keyboards/ramonimbao/tkl_ff/v2/config.h | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* Copyright 2021 Ramon Imbao | ||
| 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 "config_common.h" | ||
| 19 | |||
| 20 | #undef PRODUCT_ID | ||
| 21 | #define PRODUCT_ID 0x10FF | ||
| 22 | |||
| 23 | #define RGBLIGHT_LAYERS | ||
| 24 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | ||
| 25 | |||
| 26 | #define RGB_DI_PIN E2 | ||
| 27 | #ifdef RGB_DI_PIN | ||
| 28 | # define RGBLED_NUM 26 | ||
| 29 | # define RGBLIGHT_HUE_STEP 32 | ||
| 30 | # define RGBLIGHT_SAT_STEP 32 | ||
| 31 | # define RGBLIGHT_VAL_STEP 32 | ||
| 32 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 33 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 34 | /*== all animations enable ==*/ | ||
| 35 | // # define RGBLIGHT_ANIMATIONS | ||
| 36 | /*== or choose animations ==*/ | ||
| 37 | # define RGBLIGHT_EFFECT_BREATHING | ||
| 38 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 39 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 40 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 41 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 42 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 43 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 44 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
| 45 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
| 46 | /*== customize breathing effect ==*/ | ||
| 47 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 48 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 49 | /*==== use exp() and sin() ====*/ | ||
| 50 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 51 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 52 | #endif | ||
diff --git a/keyboards/ramonimbao/tkl_ff/v2/rules.mk b/keyboards/ramonimbao/tkl_ff/v2/rules.mk new file mode 100644 index 000000000..84ef473c0 --- /dev/null +++ b/keyboards/ramonimbao/tkl_ff/v2/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | |||
diff --git a/keyboards/ramonimbao/tkl_ff/v2/v2.c b/keyboards/ramonimbao/tkl_ff/v2/v2.c new file mode 100644 index 000000000..de5f32e3c --- /dev/null +++ b/keyboards/ramonimbao/tkl_ff/v2/v2.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Ramon Imbao | ||
| 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 "v2.h" | ||
diff --git a/keyboards/ramonimbao/tkl_ff/v2/v2.h b/keyboards/ramonimbao/tkl_ff/v2/v2.h new file mode 100644 index 000000000..7c4566def --- /dev/null +++ b/keyboards/ramonimbao/tkl_ff/v2/v2.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* Copyright 2021 Ramon Imbao | ||
| 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" | ||
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 | ||
