Commit Graph

52 Commits (33275c4073d01311f9bae2a6d0a20c02f1bbb303)

Author SHA1 Message Date
Jesse Vincent e3acde9419 rename a variable that didn't match the style guide
6 years ago
Jesse Vincent c6886b09fb Change cleanupDone to numlockUnsynced to better represent what it does
6 years ago
Jesse Vincent efbf158b13 Bring back the LED breathing effect
6 years ago
Jesse Vincent 8fb50b2415 Only run our "toggle numlock mode" once upon toggle of the layer
6 years ago
Jesse Vincent 79996b7216 Only try to reset the numlock led if we actually haven't done the
6 years ago
Jesse Vincent 7c1a5cea95 Refactoring. no functional changes
6 years ago
Jesse Vincent b491146f33 Extract a couple methods and rename a variable
6 years ago
Jesse Vincent 380a2e8a28 rename some variables to make them clearer
6 years ago
Gergely Nagy 358e58a6ef
Relicense under GPLv3 (only), and add headers.
6 years ago
Gergely Nagy 454c0d5b06 Drop the V1 plugin API compatibility code
6 years ago
Jesse Vincent 386787f1ca
Merge pull request #7 from MartyGentillon/master
6 years ago
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
Marty Gentillon effa6eba15 Numpad now properly restores the former numlock state on deactivation.
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
8 years ago
Gergely Nagy 23b341e2b3 Skip layer switching keys when it comes to highlighting
8 years ago
Gergely Nagy 4f7e60ec52 Highlight changed keys on the NumLock layer, not just NumPad ones
8 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
8 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