diff options
| author | Sebastian Laube <bitstarr@users.noreply.github.com> | 2021-09-11 08:01:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-10 23:01:14 -0700 |
| commit | 9630a7bde2ac2524ea1916cbe45a4d787d930e2e (patch) | |
| tree | 37a35261668fc8b0bbe20bcd3e7082387713009e /keyboards/kprepublic | |
| parent | 047291728d727510184dc51586bf1cad40c2792b (diff) | |
| download | qmk_firmware-9630a7bde2ac2524ea1916cbe45a4d787d930e2e.tar.gz qmk_firmware-9630a7bde2ac2524ea1916cbe45a4d787d930e2e.zip | |
[Keyboard] added KPs BM43 RGB board (#13888)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kprepublic')
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/bm43hsrgb.c | 16 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/bm43hsrgb.h | 30 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/config.h | 66 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/info.json | 55 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h | 35 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c | 68 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md | 107 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk | 1 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/default/keymap.c | 34 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/keymaps/default/readme.md | 27 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/readme.md | 18 | ||||
| -rwxr-xr-x | keyboards/kprepublic/bm43hsrgb/rules.mk | 24 |
12 files changed, 481 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.c b/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.c new file mode 100755 index 000000000..8a0e8faab --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 bitstarr | ||
| 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 "bm43hsrgb.h" | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.h b/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.h new file mode 100755 index 000000000..09d99b02d --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/bm43hsrgb.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Copyright 2021 bitstarr | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT( \ | ||
| 21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \ | ||
| 22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1B, \ | ||
| 23 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \ | ||
| 24 | K30, K31, K32, K33, K35, K37, K38, K39, K3B \ | ||
| 25 | ) { \ | ||
| 26 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \ | ||
| 27 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO, K1B }, \ | ||
| 28 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \ | ||
| 29 | { K30, K31, K32, K33, KC_NO, K35, KC_NO, K37, K38, K39, KC_NO, K3B }, \ | ||
| 30 | } | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/config.h b/keyboards/kprepublic/bm43hsrgb/config.h new file mode 100755 index 000000000..c778f5699 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/config.h | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 bitstarr | ||
| 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 0x4B50 | ||
| 24 | #define PRODUCT_ID 0x6061 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER KPRepublic | ||
| 27 | #define PRODUCT BM43 Hotswap RGB | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 4 | ||
| 31 | #define MATRIX_COLS 12 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { E6, B6, B4, B5 } | ||
| 44 | #define MATRIX_COL_PINS { C6, D2, D1, D0, D7, D6, D4, D5, D3, B7, B3, B2 } | ||
| 45 | |||
| 46 | #define DIODE_DIRECTION COL2ROW | ||
| 47 | |||
| 48 | #define RGB_DI_PIN E2 | ||
| 49 | #ifdef RGB_DI_PIN | ||
| 50 | #define RGBLED_NUM 53 | ||
| 51 | #define RGBLIGHT_HUE_STEP 8 | ||
| 52 | #define RGBLIGHT_SAT_STEP 8 | ||
| 53 | #define RGBLIGHT_VAL_STEP 8 | ||
| 54 | #define RGBLIGHT_LIMIT_VAL 180 /* The maximum brightness level */ | ||
| 55 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 56 | |||
| 57 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 58 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 59 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 60 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 61 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 62 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 63 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 64 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 65 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 66 | #endif | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/info.json b/keyboards/kprepublic/bm43hsrgb/info.json new file mode 100755 index 000000000..dbee83036 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/info.json | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "BM43HSRGB", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"K00 (E6,C6)", "x":0, "y":0}, | ||
| 9 | {"label":"K01 (E6,D2)", "x":1, "y":0}, | ||
| 10 | {"label":"K02 (E6,D1)", "x":2, "y":0}, | ||
| 11 | {"label":"K03 (E6,D0)", "x":3, "y":0}, | ||
| 12 | {"label":"K04 (E6,D7)", "x":4, "y":0}, | ||
| 13 | {"label":"K05 (E6,D6)", "x":5, "y":0}, | ||
| 14 | {"label":"K06 (E6,D4)", "x":6, "y":0}, | ||
| 15 | {"label":"K07 (E6,D5)", "x":7, "y":0}, | ||
| 16 | {"label":"K08 (E6,D3)", "x":8, "y":0}, | ||
| 17 | {"label":"K09 (E6,B7)", "x":9, "y":0}, | ||
| 18 | {"label":"K0A (E6,B3)", "x":10, "y":0}, | ||
| 19 | {"label":"K0B (E6,B2)", "x":11, "y":0}, | ||
| 20 | {"label":"K10 (B6,C6)", "x":0, "y":1, "w":1.25}, | ||
| 21 | {"label":"K11 (B6,D2)", "x":1.25, "y":1}, | ||
| 22 | {"label":"K12 (B6,D1)", "x":2.25, "y":1}, | ||
| 23 | {"label":"K13 (B6,D0)", "x":3.25, "y":1}, | ||
| 24 | {"label":"K14 (B6,D7)", "x":4.25, "y":1}, | ||
| 25 | {"label":"K15 (B6,D6)", "x":5.25, "y":1}, | ||
| 26 | {"label":"K16 (B6,D4)", "x":6.25, "y":1}, | ||
| 27 | {"label":"K17 (B6,D5)", "x":7.25, "y":1}, | ||
| 28 | {"label":"K18 (B6,D3)", "x":8.25, "y":1}, | ||
| 29 | {"label":"K19 (B6,B7)", "x":9.25, "y":1}, | ||
| 30 | {"label":"K1B (B6,B2)", "x":10.25, "y":1, "w":1.75}, | ||
| 31 | {"label":"K20 (B4,C6)", "x":0, "y":2, "w":2}, | ||
| 32 | {"label":"K21 (B4,D2)", "x":2, "y":2}, | ||
| 33 | {"label":"K22 (B4,D1)", "x":3, "y":2}, | ||
| 34 | {"label":"K23 (B4,D0)", "x":4, "y":2}, | ||
| 35 | {"label":"K24 (B4,D7)", "x":5, "y":2}, | ||
| 36 | {"label":"K25 (B4,D6)", "x":6, "y":2}, | ||
| 37 | {"label":"K26 (B4,D4)", "x":7, "y":2}, | ||
| 38 | {"label":"K27 (B4,D5)", "x":8, "y":2}, | ||
| 39 | {"label":"K28 (B4,D3)", "x":9, "y":2}, | ||
| 40 | {"label":"K29 (B4,B7)", "x":10, "y":2}, | ||
| 41 | {"label":"K2B (B4,B2)", "x":11, "y":2}, | ||
| 42 | {"label":"K30 (B5,C6)", "x":0, "y":3}, | ||
| 43 | {"label":"K31 (B5,D2)", "x":1, "y":3}, | ||
| 44 | {"label":"K32 (B5,D1)", "x":2, "y":3}, | ||
| 45 | {"label":"K33 (B5,D0)", "x":3, "y":3, "w":2.75}, | ||
| 46 | {"label":"K35 (B5,D6)", "x":5.75, "y":3, "w":2.25}, | ||
| 47 | {"label":"K37 (B5,D5)", "x":8, "y":3}, | ||
| 48 | {"label":"K38 (B5,D3)", "x":9, "y":3}, | ||
| 49 | {"label":"K39 (B5,B7)", "x":10, "y":3}, | ||
| 50 | {"label":"K3B (B5,B2)", "x":11, "y":3} | ||
| 51 | ] | ||
| 52 | } | ||
| 53 | } | ||
| 54 | ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/" | ||
| 55 | } | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h new file mode 100755 index 000000000..228343949 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 bitstarr | ||
| 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 UNICODE_SELECTED_MODES UC_WINC, UC_WIN, UC_LNX, UC_OSX | ||
| 20 | #define UNICODE_CYCLE_PERSIST false | ||
| 21 | |||
| 22 | #ifdef RGB_DI_PIN | ||
| 23 | /*== all animations enable ==*/ | ||
| 24 | #undef RGBLIGHT_ANIMATIONS | ||
| 25 | // /*== or choose animations ==*/ | ||
| 26 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 27 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 28 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 29 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 30 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 31 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 32 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 33 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 34 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 35 | #endif \ No newline at end of file | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c new file mode 100755 index 000000000..366c75555 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2021 bitstarr | ||
| 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 | #define WORD_BACK C(KC_LEFT) | ||
| 19 | #define WORD_FORWARD C(KC_RIGHT) | ||
| 20 | |||
| 21 | enum layers { | ||
| 22 | _BASE, | ||
| 23 | _EXT, | ||
| 24 | _ADV, | ||
| 25 | _FN, | ||
| 26 | _UNI, | ||
| 27 | _UNI2 | ||
| 28 | }; | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_BASE] = LAYOUT( | ||
| 32 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 33 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 34 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 35 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, LT(_EXT,KC_SPC), MO(_UNI), MO(_ADV), MO(_FN), KC_RCTL | ||
| 36 | ), | ||
| 37 | [_EXT] = LAYOUT( | ||
| 38 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, | ||
| 39 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, | ||
| 40 | KC_TRNS, KC_F11, KC_F12, KC_NO, KC_NO, KC_GRV, KC_SCLN, KC_QUOT, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS | ||
| 42 | ), | ||
| 43 | [_ADV] = LAYOUT( | ||
| 44 | KC_GRV, WORD_BACK, KC_UP, WORD_FORWARD, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_NO, KC_PSCR, KC_DEL, | ||
| 45 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_HOME, KC_PGDN, KC_END, KC_NO, | ||
| 46 | KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_MUTE, KC_VOLU, KC_NO, KC_NO, KC_NO, KC_INS, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS | ||
| 48 | ), | ||
| 49 | [_FN] = LAYOUT( | ||
| 50 | KC_NO, KC_NO, KC_NO, KC_NO, RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 51 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 52 | KC_NO, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_NO, KC_NO, | ||
| 53 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
| 54 | ), | ||
| 55 | [_UNI] = LAYOUT( | ||
| 56 | KC_NO, KC_NO, KC_NO, UC(L'€'), UC(L'§'), UC(L'°'), KC_NO, UC(L'ü'), KC_NO, UC(L'ö'), UC(L'–'), KC_NO, | ||
| 57 | KC_NO, UC(L'ä'), UC(L'ß'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 58 | MO(_UNI2), UC(L'„'), UC(L'“'), UC(L'”'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, UC(L'…'), KC_NO, | ||
| 59 | KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, UC_MOD | ||
| 60 | ), | ||
| 61 | [_UNI2] = LAYOUT( | ||
| 62 | KC_NO, KC_NO, KC_NO, UC(L'é'), KC_NO, KC_NO, KC_NO, UC(L'Ü'), KC_NO, UC(L'Ö'), UC(L'—'), KC_NO, | ||
| 63 | KC_NO, UC(L'Ä'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 64 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 65 | KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO | ||
| 66 | ), | ||
| 67 | }; | ||
| 68 | |||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md new file mode 100755 index 000000000..f43610a28 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md | |||
| @@ -0,0 +1,107 @@ | |||
| 1 | # Personal Layout of [bitstarr](https://github.com/bitstarr) | ||
| 2 | |||
| 3 | I use an US ANSI Layout and set the OS to the US Keyboard. Since I'm german, I need to use some special characters once in a while - that's what the UNI and UNI2 Layers are for. Under Windows we have to rely on [WinCompose](https://github.com/samhocevar/wincompose) to work as intended. | ||
| 4 | |||
| 5 | qmk compile -kb kprepublic/bm43hsrgb -km bitstarr | ||
| 6 | |||
| 7 | ## 0 Qwerty | ||
| 8 | ``` | ||
| 9 | ,----------------------------------------------------------------------------. | ||
| 10 | | ESC | Q | W | E | R | T | Y | U | I | O | P | Bscp | | ||
| 11 | |----------------------------------------------------------------------------+ | ||
| 12 | | Tab | A | S | D | F | G | H | J | K | L | Enter | | ||
| 13 | |----------------------------------------------------------------------------+ | ||
| 14 | | Shift | Z | X | C | V | B | N | M | , | . | / | | ||
| 15 | |----------------------------------------------------------------------------+ | ||
| 16 | | Ctrl | Win | Alt | Space | Space/EXT | UNI | ADV | FN | Ctrl | | ||
| 17 | `----------------------------------------------------------------------------' | ||
| 18 | ``` | ||
| 19 | |||
| 20 | ## 1 EXT Layer | ||
| 21 | ``` | ||
| 22 | EXT Layer | ||
| 23 | ,----------------------------------------------------------------------------. | ||
| 24 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | O | - | + | | ||
| 25 | |----------------------------------------------------------------------------+ | ||
| 26 | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Enter | | ||
| 27 | |----------------------------------------------------------------------------+ | ||
| 28 | | Shift | F11 | F12 | | | ` | ; | ' | [ | ] | \ | | ||
| 29 | |----------------------------------------------------------------------------+ | ||
| 30 | | Ctrl | Win | Alt | Space | | | | | Ctrl | | ||
| 31 | `----------------------------------------------------------------------------' | ||
| 32 | ``` | ||
| 33 | |||
| 34 | * Numbers | ||
| 35 | * F-Keys | ||
| 36 | * Brackets, Punctuation, Special Characters | ||
| 37 | |||
| 38 | ## 2 ADV Layer | ||
| 39 | ``` | ||
| 40 | ADV Layer | ||
| 41 | ,----------------------------------------------------------------------------. | ||
| 42 | | ` | W→ | ↑ | W← | | | | | ⇞ | | PS | Del | | ||
| 43 | |----------------------------------------------------------------------------+ | ||
| 44 | | Tab | ← | ↓ | → | | | | ↖ | ⇟ | ↘︎ | | | ||
| 45 | |----------------------------------------------------------------------------+ | ||
| 46 | | Shift | ⏮ | ⏯ | ⏭ | 🔉 | 🔇 | 🔊 | | | | Ins | | ||
| 47 | |----------------------------------------------------------------------------+ | ||
| 48 | | Ctrl | Win | Alt | Space | | | | | Ctrl | | ||
| 49 | `----------------------------------------------------------------------------' | ||
| 50 | ``` | ||
| 51 | |||
| 52 | * Arrows, Word skips | ||
| 53 | * Print Screen, Page Up, Page Down | ||
| 54 | * Home, End, Ins, Del | ||
| 55 | * Media | ||
| 56 | |||
| 57 | ## 3 FN Layer | ||
| 58 | ``` | ||
| 59 | FN Layer | ||
| 60 | ,----------------------------------------------------------------------------. | ||
| 61 | | | | | | RESET | | | | | | | | | ||
| 62 | |----------------------------------------------------------------------------+ | ||
| 63 | | | | | | | | | | | | | | ||
| 64 | |----------------------------------------------------------------------------+ | ||
| 65 | | | RGB_T | RGB_M | H+ | H- | S+ | S- | B+ | B- | | | | ||
| 66 | |----------------------------------------------------------------------------+ | ||
| 67 | | | | | | | | | | | | ||
| 68 | `----------------------------------------------------------------------------' | ||
| 69 | ``` | ||
| 70 | |||
| 71 | * RGB, Toggle, Mode, Hue, Saturation, Brightness | ||
| 72 | * Reset | ||
| 73 | |||
| 74 | ## 4 UNI Layer | ||
| 75 | ``` | ||
| 76 | UNI Layer | ||
| 77 | ,----------------------------------------------------------------------------. | ||
| 78 | | | | | € | § | ° | | ü | | ö | – | | | ||
| 79 | |----------------------------------------------------------------------------+ | ||
| 80 | | | ä | ß | | | | | | | | | | ||
| 81 | |----------------------------------------------------------------------------+ | ||
| 82 | | UNI2 | „ | “ | ” | | | | | | … | | | ||
| 83 | |----------------------------------------------------------------------------+ | ||
| 84 | | | | | Space | Space | | | | Mode | | ||
| 85 | `----------------------------------------------------------------------------' | ||
| 86 | ``` | ||
| 87 | |||
| 88 | * Umlauts | ||
| 89 | * Punctuation | ||
| 90 | * Special Characters | ||
| 91 | * Switching [Input Modes](https://beta.docs.qmk.fm/using-qmk/software-features/feature_unicode#2-input-modes-id-input-modes) (UC_WINC, UC_WIN, UC_LNX, UC_OSX) | ||
| 92 | |||
| 93 | ## 5 UNI2 Layer | ||
| 94 | ``` | ||
| 95 | UNI2 Layer | ||
| 96 | ,----------------------------------------------------------------------------. | ||
| 97 | | | | | é | | | | Ü | | Ü | — | | | ||
| 98 | |----------------------------------------------------------------------------+ | ||
| 99 | | | Ä | | | | | | | | | | | ||
| 100 | |----------------------------------------------------------------------------+ | ||
| 101 | | UNI2 | | | | | | | | | | | | ||
| 102 | |----------------------------------------------------------------------------+ | ||
| 103 | | | | | Space | Space | | | | | | ||
| 104 | `----------------------------------------------------------------------------' | ||
| 105 | ``` | ||
| 106 | |||
| 107 | * Capital Umlauts \ No newline at end of file | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk new file mode 100755 index 000000000..e7b2d0a65 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| UNICODE_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/default/keymap.c b/keyboards/kprepublic/bm43hsrgb/keymaps/default/keymap.c new file mode 100755 index 000000000..a772e54aa --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 bitstarr | ||
| 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 | [0] = LAYOUT( | ||
| 21 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 22 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 23 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_UP, KC_DOT, | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 25 | ), | ||
| 26 | [1] = LAYOUT( | ||
| 27 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 31 | ), | ||
| 32 | |||
| 33 | }; | ||
| 34 | |||
diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/default/readme.md b/keyboards/kprepublic/bm43hsrgb/keymaps/default/readme.md new file mode 100755 index 000000000..2ecc0b2f4 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/keymaps/default/readme.md | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # The default keymap for bm43hsrgb | ||
| 2 | |||
| 3 | ## Base Layer | ||
| 4 | ``` | ||
| 5 | ,----------------------------------------------------------------------------. | ||
| 6 | | ESC | Q | W | E | R | T | Y | U | I | O | P | Bscp | | ||
| 7 | |----------------------------------------------------------------------------+ | ||
| 8 | | Tab | A | S | D | F | G | H | J | K | L | Enter | | ||
| 9 | |----------------------------------------------------------------------------+ | ||
| 10 | | Shift | Z | X | C | V | B | N | M | , | ↑ | . | | ||
| 11 | |----------------------------------------------------------------------------+ | ||
| 12 | | Ctrl | Win | Alt | Space | Space | Fn | ← | ↓ | → | | ||
| 13 | `----------------------------------------------------------------------------' | ||
| 14 | ``` | ||
| 15 | |||
| 16 | ## Fn Layer | ||
| 17 | ``` | ||
| 18 | ,----------------------------------------------------------------------------. | ||
| 19 | | RESET | | | | | | | | | | | | | ||
| 20 | |----------------------------------------------------------------------------+ | ||
| 21 | | | | | | | | | | | | | | ||
| 22 | |----------------------------------------------------------------------------+ | ||
| 23 | | | RGB_T | RGB_M | H+ | H- | S+ | S- | B+ | B- | | | | ||
| 24 | |----------------------------------------------------------------------------+ | ||
| 25 | | | | | | | | | | | | ||
| 26 | `----------------------------------------------------------------------------' | ||
| 27 | ``` \ No newline at end of file | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/readme.md b/keyboards/kprepublic/bm43hsrgb/readme.md new file mode 100755 index 000000000..f55616485 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/readme.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # bm43hsrgb | ||
| 2 | |||
| 3 | A 43% (kind of ANSI) mechanical keyboard. | ||
| 4 | |||
| 5 | This firmware was originally taken from a kbfirmware.json and converted through [kbf_qmk_converter](https://noroadsleft.github.io/kbf_qmk_converter/). You may find the original `.json` files [here](https://drive.google.com/drive/folders/11DowBYrFN_uCNa9Q9bXwuMn91vmZYBcG). | ||
| 6 | |||
| 7 | |||
| 8 | * Keyboard Maintainer: [bitstarr](https://github.com/bitstarr) | ||
| 9 | * Hardware Supported: bm43hsrgb PCB | ||
| 10 | * Hardware Availability: [KPRepublic](https://kprepublic.com/collections/bm43/products/bm43-rgb-43-keys-40-custom-mechanical-keyboard-pcb-programmed-via-qmk-firmware-with-rgb-bottom-underglow-hot-swapping-switch) | ||
| 11 | |||
| 12 | Make example for this keyboard (after setting up your build environment): | ||
| 13 | |||
| 14 | make kprepublic/bm43hsrgb:default | ||
| 15 | |||
| 16 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
| 17 | |||
| 18 | See [Default Keymap](keymaps/default/readme.md) for the layout. In the default keymap you can access the bootloader with `right Alt + Esc`. | ||
diff --git a/keyboards/kprepublic/bm43hsrgb/rules.mk b/keyboards/kprepublic/bm43hsrgb/rules.mk new file mode 100755 index 000000000..4e9c7bd62 --- /dev/null +++ b/keyboards/kprepublic/bm43hsrgb/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 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 | # 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 = no # 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 | ||
| 23 | |||
| 24 | KEY_LOCK_ENABLE = no # Enable KC_LOCK support | ||
