Commit Graph

40 Commits (604ebc448d613576027dabe2f2793c3607ebed4c)

Author SHA1 Message Date
Gergely Nagy 604ebc448d Make the NumLock breathe's hue configurable too
7 years ago
Gergely Nagy 4b04d506c4 Make the numpad highlight color configurable
7 years ago
Gergely Nagy 6190f55c57 Dim the numpad color down from 255 to 160.
7 years ago
Gergely Nagy 115e439a4c Updated to use the new plugin APIs
7 years ago
Gergely Nagy 78710d0247
Merge pull request #3 from MartyGentillon/master
7 years ago
Gergely Nagy 3e7b4cb737
Merge pull request #2 from edanaher/fix-numlock-off
7 years ago
Maxime de Roucy deb92d85dd Don't enable LED on Key_NoKey
7 years ago
Marty Gentillon d5369288fb NumPad now restores the former num lock state on deactivation.
7 years ago
Evan Danaher 1017cfd600 Send numlock keypress when disabling the numpad layer.
7 years ago
Jesse Vincent 952198a98a It appears that when the BIOS isn't reporting the keyboard LED state back to the keyboard, the old code resulted in sending far too many key reports. (Specifically, out of controll key repeat on OSX)
7 years ago
Jesse Vincent 1fb97c958b That renaming was slightly over-aggressive
7 years ago
Jesse Vincent 3de82eb6a4 Renaming
7 years ago
Jesse Vincent 1333f30252 Switch to not trying to use 'Numlock' as a toggle.
7 years ago
Gergely Nagy 0943911786 Use kaleidoscope::hid instead of Keyboard directly
7 years ago
Gergely Nagy a1c0fdfb42 Sync the NUMPAD layer state with the host
7 years ago
Jesse Vincent 393bba00ba Fix for a deprecated API
7 years ago
Gergely Nagy 1d1affb71b Use an event loop hook instead of requiring a macro to detect NumLock
7 years ago
Gergely Nagy da0c998760 Updated to use the new LEDMode/LEDControl API
7 years ago
Jesse Vincent 9fa29b709d
Turn off the LEDs when exiting NumLock mode.
7 years ago
Jesse Vincent 6dc23db20b
When figuring out which keys to light up with LEDs: Switch to looking up the numpad keys based on the currently active layer
7 years ago
Jesse Vincent c575fd0d52
When in numlock, we should only light up the numpad keys, not everything else
7 years ago
Gergely Nagy 92050c2ab7 Highlight only those keys that have no flag set
7 years ago
Gergely Nagy 23b341e2b3 Skip layer switching keys when it comes to highlighting
7 years ago
Gergely Nagy 4f7e60ec52 Highlight changed keys on the NumLock layer, not just NumPad ones
7 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
7 years ago
Gergely Nagy f2d3d91a73 Simplify the API
8 years ago
Gergely Nagy 40328cd342 Re-init the active LED mode when NumLock is turned off
8 years ago
Gergely Nagy 98bf56d097 Instead of acting as a strange LED mode, use a loop hook instead
8 years ago
Jesse Vincent 42c833c81a
linter cleanup
8 years ago
Jesse Vincent 18fe127ac2
astyle with current project style guidelines
8 years ago
Jesse Vincent ca71ff2c75
Fix the name of the numlock key
8 years ago
Jesse Vincent 2fbeb322d8 Switch from a hardcoded structure that's in BGR order to using a cRGB and getting our color (red) correct
8 years ago
Gergely Nagy f2773e1444 Mark the class a descendant of public LEDMode
8 years ago
Gergely Nagy 5fe8ff28cb The Big Rename
8 years ago
Gergely Nagy 89b92927e4 Rename to Keyboardio-Numlock
8 years ago
Gergely Nagy 17046f281e Introduce two helper macros
8 years ago
Gergely Nagy 051778048d Turn the plugin into a macro
8 years ago
Gergely Nagy 975cd0bf04 Use the new, double-add protected hook functions
8 years ago
Gergely Nagy ed92d5109c Fix the LED mode handling
8 years ago
Gergely Nagy 5df5b209d7 Lifted out from Keyboardio-LEDControl
8 years ago