diff options
| author | moyi4681 <moyi4681@users.noreply.github.com> | 2019-11-15 03:55:46 +0800 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-11-14 11:55:46 -0800 |
| commit | 426c03eda0deb62d916498fbdd671c7d3532b9e4 (patch) | |
| tree | a83ddac8182c0e9b3039e5605c56e476358348b7 /keyboards/dz60 | |
| parent | 5edd4b99fe4db7371a04fc554bb8f4672ccae707 (diff) | |
| download | qmk_firmware-426c03eda0deb62d916498fbdd671c7d3532b9e4.tar.gz qmk_firmware-426c03eda0deb62d916498fbdd671c7d3532b9e4.zip | |
[Keyboard] add kbdmini; dztech, kbdfans keyboards cleanup (#7223)
* add kbdmini, dztech and kbdfans keyboards small fix
* Caps lock indicator moved from keymap
* Update dz65rgb.c
* fix error
* fix matthewrobo keymap error
* Update keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/dztech/dz60rgb/dz60rgb.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/dztech/dz65rgb/dz65rgb.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* wrap all of the g_led_config stuff and rgb matrix functions in ifdefs
wrap all of the g_led_config stuff and rgb matrix functions in ifdefs
Diffstat (limited to 'keyboards/dz60')
| -rw-r--r-- | keyboards/dz60/config.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h index d121d997b..63794d027 100644 --- a/keyboards/dz60/config.h +++ b/keyboards/dz60/config.h | |||
| @@ -25,8 +25,9 @@ | |||
| 25 | 25 | ||
| 26 | /* number of backlight levels */ | 26 | /* number of backlight levels */ |
| 27 | #define BACKLIGHT_PIN B6 | 27 | #define BACKLIGHT_PIN B6 |
| 28 | #ifdef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_LEVELS 5 | 29 | #define BACKLIGHT_LEVELS 5 |
| 29 | 30 | #endif | |
| 30 | /* Set 0 if debouncing isn't needed */ | 31 | /* Set 0 if debouncing isn't needed */ |
| 31 | #define DEBOUNCE 5 | 32 | #define DEBOUNCE 5 |
| 32 | 33 | ||
| @@ -35,12 +36,13 @@ | |||
| 35 | 36 | ||
| 36 | /* Locking resynchronize hack */ | 37 | /* Locking resynchronize hack */ |
| 37 | #define LOCKING_RESYNC_ENABLE | 38 | #define LOCKING_RESYNC_ENABLE |
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 39 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | ||
| 40 | #define RGBLIGHT_ANIMATIONS | 41 | #define RGBLIGHT_ANIMATIONS |
| 41 | #define RGBLED_NUM 16 | 42 | #define RGBLED_NUM 16 |
| 42 | #define RGBLIGHT_HUE_STEP 8 | 43 | #define RGBLIGHT_HUE_STEP 8 |
| 43 | #define RGBLIGHT_SAT_STEP 8 | 44 | #define RGBLIGHT_SAT_STEP 8 |
| 44 | #define RGBLIGHT_VAL_STEP 8 | 45 | #define RGBLIGHT_VAL_STEP 8 |
| 45 | 46 | #define RGBLIGHT_SLEEP | |
| 47 | #endif | ||
| 46 | #endif \ No newline at end of file | 48 | #endif \ No newline at end of file |
