diff options
| author | peepeetee <43021794+peepeetee@users.noreply.github.com> | 2021-11-06 02:42:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 11:42:07 -0700 |
| commit | 7562c5ba1657a5484256ba133069aeea8b8b8bd0 (patch) | |
| tree | 57b428886adca43bd78c3329fd0f1ef893e1776f /keyboards/kprepublic/bm60rgb_iso/rev1/config.h | |
| parent | b4c5c56f58d97ee3de832ae43697b01e6cf3ed9a (diff) | |
| download | qmk_firmware-7562c5ba1657a5484256ba133069aeea8b8b8bd0.tar.gz qmk_firmware-7562c5ba1657a5484256ba133069aeea8b8b8bd0.zip | |
Update updated KPrepublic boards to be prepared for the update (#15040)
Diffstat (limited to 'keyboards/kprepublic/bm60rgb_iso/rev1/config.h')
| -rw-r--r-- | keyboards/kprepublic/bm60rgb_iso/rev1/config.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm60rgb_iso/rev1/config.h b/keyboards/kprepublic/bm60rgb_iso/rev1/config.h new file mode 100644 index 000000000..17cf1436d --- /dev/null +++ b/keyboards/kprepublic/bm60rgb_iso/rev1/config.h | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 markva | ||
| 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 // "KP" | ||
| 24 | #define PRODUCT_ID 0xEF8C | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER KPRepublic | ||
| 27 | #define PRODUCT bm60hsrgb-iso | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 14 | ||
| 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 | |||
| 44 | // 0 1 2 3 4 5 6 7 8 9 A B C D | ||
| 45 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, E6 } | ||
| 46 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7 } | ||
| 47 | |||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | #define RGB_DI_PIN E2 | ||
| 51 | #define DRIVER_LED_TOTAL 70 | ||
| 52 | #ifdef RGB_DI_PIN | ||
| 53 | # define RGBLED_NUM 70 | ||
| 54 | # define RGB_MATRIX_KEYPRESSES | ||
| 55 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 56 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 57 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 58 | # define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value | ||
| 59 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 60 | /*== all animations enable ==*/ | ||
| 61 | // #define RGBLIGHT_ANIMATIONS | ||
| 62 | // /*== or choose animations ==*/ | ||
| 63 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 64 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 65 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 66 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 67 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 68 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 69 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 70 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 71 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 72 | #endif | ||
| 73 | #ifdef RGB_MATRIX_ENABLE | ||
| 74 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value | ||
| 75 | #endif | ||
