Commit Graph

4566 Commits (290a4db2d491ab1fe0b5735a8b972180e5f10885)
 

Author SHA1 Message Date
Gergely Nagy fe53c4fabe Update to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy d4ddd5fd73 Update to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy b4c07442ac Major update of how LED modes work
7 years ago
Gergely Nagy 2e1ae36cff Use the new Layer.lookupOnActiveLayer function
7 years ago
Jesse Vincent aab19f505a
Tweak the bootgreeting timeout so that it turns off at the bottom end of a pulse
7 years ago
Jesse Vincent 588fa21148
fix a lint issue
7 years ago
Jesse Vincent 580953a39a
astyle
7 years ago
Jesse Vincent b431927176 Merge pull request #1 from algernon/f/key-chatter-detection
7 years ago
Gergely Nagy f3094e1538 Initial attempt at chatter detection
7 years ago
Jesse Vincent 20c5b8e779
Make out breathing blue a little bit purer blue.
7 years ago
Jesse Vincent f11189edc2
Update README to match code.
7 years ago
Jesse Vincent 64f20850b5
Add a workaround for [ + LSHIFT as a single key report not generating the proper
7 years ago
Jesse Vincent 51e61dc205
Add a helper function for pressing modifier keys that we receive as
7 years ago
Jesse Vincent 14ae21267b
Add a new 'wasModifierKeyActive' wrapper around a new method in KeyboardioHID
7 years ago
Gergely Nagy bed648ce28 Initial import
7 years ago
Jesse Vincent f6efa041b7 Merge pull request #175 from keyboardio/h/layers/momentary-reactivation
7 years ago
Gergely Nagy 33dc593151 layers: Add a comment about the momentary layer handling
7 years ago
Gergely Nagy c88062a243 layers: Code refactoring
7 years ago
Gergely Nagy b218143faf When a momentary layer is held, reactivate the layer if it turns off
7 years ago
Jesse Vincent 9e222ea58e Merge pull request #174 from keyboardio/h/layers/double-caching
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 0c1b723650
Explicitly set LEDs that aren't active to zero. Otherwise, plugins like numlock won't get de-initialized
7 years ago
Jesse Vincent 3199594181
astyle
7 years ago
Jesse Vincent f738c4ea1e
rename lookupUncached to lookupOnActiveLayer
7 years ago
Jesse Vincent b82b6910ea
Rename 'keymapCache' to 'activeLayers' to better describe what it is
7 years ago
Gergely Nagy 29a8b95615 layers: Implement a two-stage cache
7 years ago
Gergely Nagy b8f8c9b3d5 Smarter Layer.on / Layer.off
7 years ago
Gergely Nagy 75fb3ac14a Make cpplint happy
7 years ago
Jesse Vincent 89e59ab628
astyle fix for a trailing newline
7 years ago
Jesse Vincent c8e846247c
Rename 'keyCache' to 'keymapCache', as it's a little bit more
7 years ago
Jesse Vincent 6778581bcf
add a more descriptive comment
7 years ago
Jesse Vincent 1c7cc32b2f Merge pull request #172 from keyboardio/h/update-key-cache-on-layer-change
7 years ago
Gergely Nagy 130845f897 Add a few comments explaining why we call Layer.updateKeyCache()
7 years ago
Gergely Nagy 3748fe7669 Update the key cache on layer change and at keyboard setup
7 years ago
Selene Scriven b026f56523 Added tweening / frame interpolation for smoother movement.
7 years ago
Jesse Vincent 71a288c71a Merge pull request #11 from keyboardio/h/remove-unused
7 years ago
Gergely Nagy afce335f30 Drop the getKeyColor function from the header
7 years ago
Gergely Nagy 453e30038f isLayerKeyActive: Check for flag equality, not just two bits set
7 years ago
Gergely Nagy 5cd5eab50d Use non-deprecated functions for event handler & loop hook registration
7 years ago
Gergely Nagy 40c843958a README & example update
7 years ago
Gergely Nagy e64f489845 Make it possible to disable the double-tap-sticky feature
7 years ago
Gergely Nagy f25480730e When checking for normal layer keys, make sure the RESERVED bit isn't set
7 years ago
Gergely Nagy 810acd9842 When cancelling after hold timeout, turn should_cancel_ off too.
7 years ago
Gergely Nagy a0dad6bf0e Use Kaleidoscope.useLoopHook() instead of loop_hook_use()
7 years ago
Gergely Nagy 3518ba605a Documentation & example update
7 years ago
Gergely Nagy 8becec569e Add support for highlighting layer keys too
7 years ago
Gergely Nagy de3d793b40 Move the modifier activity check into `isModifierActive`
7 years ago
Gergely Nagy b60937f9db Combine modifier & modifier activeness checking
7 years ago
Gergely Nagy 58d07f1e06 Lift out `isModifier` into its own function
7 years ago