Commit Graph

2180 Commits (3962ffff1a2359e6e16aceb54c8ff7caa465b808)
 

Author SHA1 Message Date
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
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
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 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
Jesse Vincent 62ce98ebfe Merge pull request #10 from keyboardio/f/masking/size-reduction
7 years ago
Gergely Nagy 2e48ea3a0e masking: Use keydata_t instead of uint8_t[4]
7 years ago
Gergely Nagy 7e09236306 masking: Follow the hand state bit layout more closely
7 years ago
Gergely Nagy 8e98e30f62 masking: use 4 8-bit uints instead of one 32bit one
7 years ago
Gergely Nagy 0a566eb58f Fix masking of the right-hand side.
7 years ago
Craig Disselkoen a120c63e96 Avoid duplicated effects in LEDMode rotation
7 years ago
Gergely Nagy dc40c8e226 masking: Let the release event of a masked key through
7 years ago
Jesse Vincent bb96bbb438 Merge pull request #152 from keyboardio/f/key-masking
7 years ago
Jesse Vincent 3571a56ae6 Merge pull request #9 from keyboardio/f/key-masking
7 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
7 years ago
Gergely Nagy 14197de8e6 Add a few words about masking as in-code comments.
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
Jesse Vincent 1206a3cafb
astyle
7 years ago
Jesse Vincent a9068d16d4
Unify repeated code to a codepath. Saves us 16 bytes
7 years ago