diff options
| author | Brandon Claveria <48102030+swiftrax@users.noreply.github.com> | 2022-01-08 16:13:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-08 16:13:37 -0800 |
| commit | fc8346e0b3d601aadf37fd7a1e708910cee22f75 (patch) | |
| tree | 13324ed5b6b9abef3bcebf4299f38f88459cd1f9 | |
| parent | 4b0aa1a2af5934aad40c21ceb9f83cf6b5034d5b (diff) | |
| download | qmk_firmware-fc8346e0b3d601aadf37fd7a1e708910cee22f75.tar.gz qmk_firmware-fc8346e0b3d601aadf37fd7a1e708910cee22f75.zip | |
[keyboard] BumbleBee handwired (#14908)
* add bumblebee
* change keymaps
* change PID
* update info.json
* Apply suggestions from code review
* Update keyboards/handwired/swiftrax/bumblebee/rules.mk
* update readme.md
* Update keyboards/handwired/swiftrax/bumblebee/info.json
* edit keymaps
* Update keyboards/handwired/swiftrax/bumblebee/rules.mk
* Update keyboards/handwired/swiftrax/bumblebee/bumblebee.h
* Update keyboards/handwired/swiftrax/bumblebee/info.json
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c
* Update keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c
10 files changed, 309 insertions, 0 deletions
diff --git a/keyboards/handwired/swiftrax/bumblebee/bumblebee.c b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c new file mode 100644 index 000000000..613a1fa1b --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include "bumblebee.h" | ||
| 18 | |||
| 19 | // Encoder | ||
| 20 | bool encoder_update_kb(uint8_t index, bool clockwise) { | ||
| 21 | if (!encoder_update_user(index, clockwise)) | ||
| 22 | return false; | ||
| 23 | if (clockwise) | ||
| 24 | tap_code16(KC_VOLU); | ||
| 25 | else | ||
| 26 | tap_code16(KC_VOLD); | ||
| 27 | return true; | ||
| 28 | } | ||
| 29 | |||
| 30 | // Initialize all RGB indicators to 'off' | ||
| 31 | __attribute__((weak)) | ||
| 32 | void keyboard_post_init_user(void) { | ||
| 33 | rgblight_setrgb_at(0, 0, 0, 0); // [..., 0] = top LED | ||
| 34 | rgblight_setrgb_at(0, 0, 0, 1); // [..., 1] = middle LED | ||
| 35 | rgblight_setrgb_at(0, 0, 0, 2); // [..., 2] = bottom LED | ||
| 36 | } | ||
| 37 | |||
| 38 | // RGB Layer Indicators | ||
| 39 | layer_state_t layer_state_set_kb(layer_state_t state) { | ||
| 40 | if (get_highest_layer(state) == 0) { | ||
| 41 | rgblight_setrgb_at(255, 0, 0, 0); //red | ||
| 42 | } else { | ||
| 43 | rgblight_setrgb_at(0, 0, 0, 0); | ||
| 44 | } | ||
| 45 | if (get_highest_layer(state) == 1){ | ||
| 46 | rgblight_setrgb_at(0, 0, 255, 1); //green | ||
| 47 | } else{ | ||
| 48 | rgblight_setrgb_at(0, 0, 0, 1); | ||
| 49 | } | ||
| 50 | if (get_highest_layer(state) == 2){ | ||
| 51 | rgblight_setrgb_at(0, 255, 0, 2); //blue | ||
| 52 | } else{ | ||
| 53 | rgblight_setrgb_at(0, 0, 0, 2); | ||
| 54 | } | ||
| 55 | return layer_state_set_user(state); | ||
| 56 | } \ No newline at end of file | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/bumblebee.h b/keyboards/handwired/swiftrax/bumblebee/bumblebee.h new file mode 100644 index 000000000..2d1fdf7a4 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/bumblebee.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define KC_NO XXX | ||
| 20 | |||
| 21 | #include "quantum.h" | ||
| 22 | |||
| 23 | #define LAYOUT_all( \ | ||
| 24 | K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K17, \ | ||
| 25 | K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K36, K27, \ | ||
| 26 | K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K46, K56, K47, \ | ||
| 27 | K60, K70, K62, K72, K63, K74, K65, K66, K76, K67 \ | ||
| 28 | ) \ | ||
| 29 | { \ | ||
| 30 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
| 31 | { K10, K11, K12, K13, K14, K15, K16, XXX }, \ | ||
| 32 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ | ||
| 33 | { K30, K31, K32, K33, K34, K35, K36, XXX }, \ | ||
| 34 | { K40, K41, K42, K43, K44, K45, K46, K47 }, \ | ||
| 35 | { K50, K51, K52, K53, K54, K55, K56, XXX }, \ | ||
| 36 | { K60, XXX, K62, K63, XXX, K65, K66, K67 }, \ | ||
| 37 | { K70, XXX, K72, XXX, K74, XXX, K76, XXX } \ | ||
| 38 | } | ||
| 39 | |||
diff --git a/keyboards/handwired/swiftrax/bumblebee/config.h b/keyboards/handwired/swiftrax/bumblebee/config.h new file mode 100644 index 000000000..89b51a762 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x04D8 | ||
| 24 | #define PRODUCT_ID 0xE881 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Swiftrax | ||
| 27 | #define PRODUCT BumbleBee | ||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 8 | ||
| 30 | #define MATRIX_COLS 8 | ||
| 31 | |||
| 32 | // ROWS: Top to bottom, COLS: Left to right | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, F4, F5, F6, F7 } | ||
| 35 | #define MATRIX_COL_PINS { C7, D3, D5, D4, D6, D7, B4, B5 } | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION ROW2COL | ||
| 39 | |||
| 40 | /* define if matrix has ghost */ | ||
| 41 | //#define MATRIX_HAS_GHOST | ||
| 42 | |||
| 43 | /* Set 0 if debouncing isn't needed */ | ||
| 44 | #define DEBOUNCE 5 | ||
| 45 | |||
| 46 | /* Encoder */ | ||
| 47 | #define ENCODERS_PAD_A { C6 } | ||
| 48 | #define ENCODERS_PAD_B { B6 } | ||
| 49 | |||
| 50 | /* RGB Indicators */ | ||
| 51 | #define RGB_DI_PIN E6 | ||
| 52 | #define RGBLED_NUM 3 | ||
| 53 | |||
| 54 | /* Solenid Pin */ | ||
| 55 | #define SOLENOID_PIN D2 | ||
| 56 | |||
| 57 | /* Piezo Buzzer */ | ||
| 58 | #define AUDIO_PIN B7 \ No newline at end of file | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/info.json b/keyboards/handwired/swiftrax/bumblebee/info.json new file mode 100644 index 000000000..3d9a8730a --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/info.json | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "BumbleBee", | ||
| 3 | "url": "https://www.github.com/swiftrax", | ||
| 4 | "maintainer": "swiftrax", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT_all": { | ||
| 7 | "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"1,0", "x":1, "y":0, "w":1.5}, {"label":"0,1", "x":2.5, "y":0}, {"label":"1,1", "x":3.5, "y":0}, {"label":"0,2", "x":4.5, "y":0}, {"label":"1,2", "x":5.5, "y":0}, {"label":"0,3", "x":6.5, "y":0}, {"label":"1,3", "x":7.5, "y":0}, {"label":"0,4", "x":8.5, "y":0}, {"label":"1,4", "x":9.5, "y":0}, {"label":"0,5", "x":10.5, "y":0}, {"label":"1,5", "x":11.5, "y":0}, {"label":"0,6", "x":12.5, "y":0}, {"label":"1,6", "x":13.5, "y":0}, {"label":"0,7", "x":14.5, "y":0, "w":1.5}, {"label":"1,7", "x":16, "y":0}, {"label":"2,0", "x":0, "y":1}, {"label":"3,0", "x":1, "y":1, "w":1.75}, {"label":"2,1", "x":2.75, "y":1}, {"label":"3,1", "x":3.75, "y":1}, {"label":"2,2", "x":4.75, "y":1}, {"label":"3,2", "x":5.75, "y":1}, {"label":"2,3", "x":6.75, "y":1}, {"label":"3,3", "x":7.75, "y":1}, {"label":"2,4", "x":8.75, "y":1}, {"label":"3,4", "x":9.75, "y":1}, {"label":"2,5", "x":10.75, "y":1}, {"label":"3,5", "x":11.75, "y":1}, {"label":"2,6", "x":12.75, "y":1}, {"label":"3,6", "x":13.75, "y":1, "w":2.25}, {"label":"2,7", "x":16, "y":1}, {"label":"4,0", "x":0, "y":2}, {"label":"5,0", "x":1, "y":2, "w":2.25}, {"label":"4,1", "x":3.25, "y":2}, {"label":"5,1", "x":4.25, "y":2}, {"label":"4,2", "x":5.25, "y":2}, {"label":"5,2", "x":6.25, "y":2}, {"label":"4,3", "x":7.25, "y":2}, {"label":"5,3", "x":8.25, "y":2}, {"label":"4,4", "x":9.25, "y":2}, {"label":"5,4", "x":10.25, "y":2}, {"label":"4,5", "x":11.25, "y":2}, {"label":"5,5", "x":12.25, "y":2}, {"label":"4,6", "x":13.25, "y":2, "w":1.75}, {"label":"5,6", "x":15, "y":2}, {"label":"4,7", "x":16, "y":2}, {"label":"6,0", "x":0, "y":3}, {"label":"7,0", "x":1, "y":3, "w":1.5}, {"label":"6,2", "x":3.88, "y":3, "w":1.5}, {"label":"7,2", "x":5.38, "y":3, "w":2.75}, {"label":"6,3", "x":8.13, "y":3}, {"label":"7,4", "x":9.13, "y":3, "w":2}, {"label":"6,5", "x":11.13, "y":3, "w":1.5}, {"label":"6,6", "x":14, "y":3}, {"label":"7,6", "x":15, "y":3}, {"label":"6,7", "x":16, "y":3}] | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c b/keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c new file mode 100644 index 000000000..7e7247c80 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/keymaps/default/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | #define SOLENOID_DEFAULT_BUZZ 1 | ||
| 20 | #define FB_ERM_LRA 0 | ||
| 21 | #define FB_BRAKEFACTOR 3 /* For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 */ | ||
| 22 | #define FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */ | ||
| 23 | |||
| 24 | /* Please refer to your datasheet for the optimal setting for your specific motor. */ | ||
| 25 | #define RATED_VOLTAGE 3 | ||
| 26 | #define V_PEAK 5 | ||
| 27 | |||
| 28 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 29 | [0] = LAYOUT_all( | ||
| 30 | KC_ESC , 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_DEL , | ||
| 31 | KC_F13 , 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 , KC_HOME, | ||
| 32 | KC_F14 , 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 , KC_END , | ||
| 33 | KC_F15 , KC_LCTL, KC_LALT, KC_SPC , KC_MUTE, MO(1) , MO(2) , KC_LEFT, KC_DOWN, KC_RGHT | ||
| 34 | ), | ||
| 35 | [1] = LAYOUT_all( | ||
| 36 | _______, _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_EQL , _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ), | ||
| 41 | [2] = LAYOUT_all( | ||
| 42 | _______, _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 46 | ), | ||
| 47 | }; | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/keymaps/default/rules.mk b/keyboards/handwired/swiftrax/bumblebee/keymaps/default/rules.mk new file mode 100644 index 000000000..9c6098640 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/keymaps/default/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | AUDIO_ENABLE = yes | ||
| 2 | HAPTIC_ENABLE += SOLENOID \ No newline at end of file | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c b/keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c new file mode 100644 index 000000000..a48f99810 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/keymaps/via/keymap.c | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | #define SOLENOID_DEFAULT_BUZZ 1 | ||
| 20 | #define FB_ERM_LRA 0 | ||
| 21 | #define FB_BRAKEFACTOR 3 /* For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 */ | ||
| 22 | #define FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */ | ||
| 23 | |||
| 24 | /* Please refer to your datasheet for the optimal setting for your specific motor. */ | ||
| 25 | #define RATED_VOLTAGE 3 | ||
| 26 | #define V_PEAK 5 | ||
| 27 | |||
| 28 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 29 | [0] = LAYOUT_all( | ||
| 30 | KC_ESC , 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_DEL , | ||
| 31 | KC_F13 , 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 , KC_HOME, | ||
| 32 | KC_F14 , 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 , KC_END , | ||
| 33 | KC_F15 , KC_LCTL, KC_LALT, KC_SPC , KC_MUTE, MO(1) , MO(2) , KC_LEFT, KC_DOWN, KC_RGHT | ||
| 34 | ), | ||
| 35 | [1] = LAYOUT_all( | ||
| 36 | _______, _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_EQL , _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ), | ||
| 41 | [2] = LAYOUT_all( | ||
| 42 | _______, _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 46 | ), | ||
| 47 | [3] = LAYOUT_all( | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 52 | ), | ||
| 53 | }; | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/keymaps/via/rules.mk b/keyboards/handwired/swiftrax/bumblebee/keymaps/via/rules.mk new file mode 100644 index 000000000..e0ef17889 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/keymaps/via/rules.mk | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | #HAPTIC_ENABLE += SOLENOID | ||
| 3 | AUDIO_ENABLE = yes | ||
| 4 | #either solenoid or audio not both can be enabled \ No newline at end of file | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/readme.md b/keyboards/handwired/swiftrax/bumblebee/readme.md new file mode 100644 index 000000000..32091cb83 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # BumbleBee | ||
| 2 | |||
| 3 | A 50% keyboard with a bunch of fun features | ||
| 4 | |||
| 5 | * Keyboard Maintainer: Swiftrax | ||
| 6 | * Hardware Supported: BumbleBee | ||
| 7 | * Hardware Availability: https://github.com/swiftrax | ||
| 8 | |||
| 9 | ## Bootloader | ||
| 10 | |||
| 11 | Enter the bootloader in 3 ways: | ||
| 12 | |||
| 13 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 14 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 15 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
| 16 | |||
| 17 | Make example for this keyboard (after setting up your build environment): | ||
| 18 | |||
| 19 | make handwired/swiftrax/bumblebee:default | ||
| 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/handwired/swiftrax/bumblebee/rules.mk b/keyboards/handwired/swiftrax/bumblebee/rules.mk new file mode 100644 index 000000000..e0590e039 --- /dev/null +++ b/keyboards/handwired/swiftrax/bumblebee/rules.mk | |||
| @@ -0,0 +1,19 @@ | |||
| 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 = yes # Enable Bootmagic Lite | ||
| 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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
| 19 | ENCODER_ENABLE = yes # Rotary Encoder | ||
