~ruther/qmk_firmware

1f4e20cfdacc913b7d06fcd4533b92e8317e4504 — alittlepeace 4 years ago c835d2e
[Keyboard] YMDK Wings: enable Backlight (#12714)

2 files changed, 3 insertions(+), 4 deletions(-)

M keyboards/ymdk/wings/config.h
M keyboards/ymdk/wings/rules.mk
M keyboards/ymdk/wings/config.h => keyboards/ymdk/wings/config.h +2 -3
@@ 46,8 46,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION ROW2COL

#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_LEVELS 5

#define LED_CAPS_LOCK_PIN C7
#define LED_PIN_ON_STATE 0


@@ 55,13 54,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 14
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
#define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */

#define RGBLIGHT_ANIMATIONS
#endif



M keyboards/ymdk/wings/rules.mk => keyboards/ymdk/wings/rules.mk +1 -1
@@ 16,7 16,7 @@ COMMAND_ENABLE = no         # Commands for debug and configuration
SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes           # USB Nkey Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
BACKLIGHT_ENABLE = yes       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no       # Enable Bluetooth
AUDIO_ENABLE = no           # Audio output