Commit Graph

3426 Commits (8bdc83d4ecd4c47734bcb5fa64da5b69882db9fd)
 

Author SHA1 Message Date
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
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
Gergely Nagy 559bfa0881 Add a Travis CI config file
7 years ago
Gergely Nagy 89fce67998 Use the new kaleidoscope::ranges::STENO_START values
7 years ago
Gergely Nagy 155b7639ad Introduce kaleidoscope::ranges::FIRST & ::SAFE_START
7 years ago
Gergely Nagy 072f7a3896 Add the Steno range
7 years ago
Gergely Nagy 23fec81b28 Allow type() to take any number of arguments
7 years ago
Gergely Nagy 306e450496 Make the .type method return MACRO_NONE
7 years ago
Jesse Vincent 283b96ae2e Merge pull request #156 from keyboardio/h/masking/handle-release
7 years ago