Commit Graph

5298 Commits (keyboardio-m100-MP-1)
 

Author SHA1 Message Date
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
Jesse Vincent 491dca3a4d
lint fix
7 years ago
Jesse Vincent d954d7ed95 Merge pull request #161 from keyboardio/f/layers/repeat-by-default
7 years ago
Gergely Nagy 96b1979ca5 Layer: Make the repeating behaviour the default and only variant
7 years ago
Gergely Nagy 84768d505c Layer_::updateKeyCache: Guard against out of bounds key coordinates
7 years ago
Jesse Vincent 25bfbe05da Merge pull request #8 from ToyKeeper/master
7 years ago
Selene Scriven ff95f30ade Fix style issue pointed out by travis
7 years ago
Selene Scriven 5f4ee21790 Upgraded mouse acceleration.
7 years ago
Gergely Nagy 8b9fdaa90f Don't init `Layer.repeat_first_press` to true yet.
7 years ago
Jesse Vincent b775017947 Merge pull request #159 from keyboardio/f/layers/repeat-first-pressed-symbol
7 years ago
Gergely Nagy 5ccdfcf6c7 Switch the layer repeating behaviour
7 years ago
Gergely Nagy f0c1c35e8f Significant speed improvement in key lookup code
7 years ago
Gergely Nagy e3f1172244 Changed how key caching & lookup works
7 years ago
Jesse Vincent 5903621699 Merge pull request #1 from cdisselkoen/avoid-duplicated-effects
7 years ago
Jesse Vincent c55976c7aa Merge pull request #8 from keyboardio/f/macros.type-variadic
7 years ago
Gergely Nagy b1953f07a2 OSL: Flip the `should_mask_on_interrupt_` bit on OSL release, not press
7 years ago
Gergely Nagy 0afa12c7af Make cpplint happy too
7 years ago
Gergely Nagy d9e7536221 Fix the range
7 years ago
Gergely Nagy b7415039cb make astyle
7 years ago