diff options
Diffstat (limited to 'keyboards/crkbd/r2g/config.h')
| -rw-r--r-- | keyboards/crkbd/r2g/config.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/keyboards/crkbd/r2g/config.h b/keyboards/crkbd/r2g/config.h new file mode 100644 index 000000000..e45161248 --- /dev/null +++ b/keyboards/crkbd/r2g/config.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 @foostan | ||
| 3 | Copyright 2020 Drashna Jaelre <@drashna> | ||
| 4 | Copyright 2021 Elliot Powell @e11i0t23 | ||
| 5 | |||
| 6 | This program is free software: you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation, either version 2 of the License, or | ||
| 9 | (at your option) any later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #pragma once | ||
| 21 | |||
| 22 | #define USE_SERIAL | ||
| 23 | #define SOFT_SERIAL_PIN D2 | ||
| 24 | |||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGB_DI_PIN D3 | ||
| 27 | |||
| 28 | #ifdef RGBLIGHT_ENABLE | ||
| 29 | |||
| 30 | # define RGBLIGHT_EFFECT_BREATHING | ||
| 31 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 32 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 33 | # define RGBLIGHT_EFFECT_SNAKE | ||
| 34 | # define RGBLIGHT_EFFECT_KNIGHT | ||
| 35 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 36 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 37 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
| 38 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
| 39 | # define RGBLIGHT_EFFECT_TWINKLE | ||
| 40 | |||
| 41 | # define RGBLED_NUM 54 | ||
| 42 | # define RGBLED_SPLIT \ | ||
| 43 | { 27, 27 } | ||
| 44 | #endif | ||
| 45 | |||
| 46 | #ifdef RGB_MATRIX_ENABLE | ||
| 47 | # define RGBLED_NUM 54 // Number of LEDs | ||
| 48 | # define DRIVER_LED_TOTAL RGBLED_NUM | ||
| 49 | # define RGB_MATRIX_SPLIT \ | ||
| 50 | { 27, 27 } | ||
| 51 | # define SPLIT_TRANSPORT_MIRROR | ||
| 52 | |||
| 53 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
| 54 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
| 55 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
| 56 | # define ENABLE_RGB_MATRIX_BREATHING | ||
| 57 | # define ENABLE_RGB_MATRIX_BAND_SAT | ||
| 58 | # define ENABLE_RGB_MATRIX_BAND_VAL | ||
| 59 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
| 60 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
| 61 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
| 62 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 63 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 64 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 65 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 66 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 67 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 68 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
| 69 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
| 70 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 71 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 72 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 73 | #endif | ||
| 74 | |||
| 75 | #define DIODE_DIRECTION COL2ROW | ||
| 76 | |||
| 77 | #define SPLIT_USB_DETECT | ||
| 78 | |||
