Commit Graph

37 Commits (0943911786e53f468254c243e04e6eededb3e97f)
 

Author SHA1 Message Date
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
Jesse Vincent ad94e4dade Merge pull request #9 from keyboardio/f/no-macro
7 years ago
Gergely Nagy 1d1affb71b Use an event loop hook instead of requiring a macro to detect NumLock
7 years ago
Jesse Vincent 74bd0d88a2 Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy 475e9b531f Merge pull request #8 from keyboardio/f/led-api-update
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
Jesse Vincent b9f7ac0669 Merge pull request #6 from keyboardio/h/highlight-only-flagless
7 years ago
Gergely Nagy 92050c2ab7 Highlight only those keys that have no flag set
7 years ago
Jesse Vincent d603ecf7c0 Merge pull request #5 from keyboardio/h/numlock-diffcolor
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 401e9326a0
Update Makefile to fix OS X build
7 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent f0a82b4b72 Merge pull request #4 from keyboardio/f/api-friendliness
7 years ago
Jesse Vincent df4fe16122 Merge pull request #3 from keyboardio/h/un-led-modeification
7 years ago
Gergely Nagy f2d3d91a73 Simplify the API
7 years ago
Gergely Nagy 40328cd342 Re-init the active LED mode when NumLock is turned off
7 years ago
Gergely Nagy 98bf56d097 Instead of acting as a strange LED mode, use a loop hook instead
7 years ago
Jesse Vincent 42c833c81a
linter cleanup
7 years ago
Jesse Vincent b04570b9dd
Add build infrastructure
7 years ago
Jesse Vincent 18fe127ac2
astyle with current project style guidelines
7 years ago
Jesse Vincent ca71ff2c75
Fix the name of the numlock key
7 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
Jesse Vincent b06b2fcc73 Merge pull request #2 from keyboardio/f/macroification
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