Merge pull request #10 from keyboardio/h/led-brightness-vs-power-fix

Dim the numpad color down from 255 to 160.
pull/365/head
Gergely Nagy 7 years ago committed by GitHub
commit ff1d59a821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ byte NumPad_::row = 255, NumPad_::col = 255;
uint8_t NumPad_::numPadLayer; uint8_t NumPad_::numPadLayer;
bool NumPad_::cleanupDone = true; bool NumPad_::cleanupDone = true;
bool NumPad_::originalNumLockState = false; bool NumPad_::originalNumLockState = false;
cRGB numpad_color = CRGB(255, 0, 0); cRGB numpad_color = CRGB(160, 0, 0);
kaleidoscope::EventHandlerResult NumPad_::onSetup(void) { kaleidoscope::EventHandlerResult NumPad_::onSetup(void) {
originalNumLockState = !!(kaleidoscope::hid::getKeyboardLEDs() & LED_NUM_LOCK); originalNumLockState = !!(kaleidoscope::hid::getKeyboardLEDs() & LED_NUM_LOCK);

Loading…
Cancel
Save