Commit Graph

2116 Commits (8bceac8e8e9464c2887b652aac2347e1d6dca004)
 

Author SHA1 Message Date
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
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