Commit Graph

215 Commits (212054ae63ab37b914f6e1cd8ed46f5817d34014)

Author SHA1 Message Date
Jesse Vincent 212054ae63 Merge pull request #201 from cdisselkoen/more-deprecations
7 years ago
Craig Disselkoen 7d6fc87e34 Add deprecation message for deprecated keyswitch_state functions
7 years ago
Gergely Nagy 4ddd3b86d1 Deprecate USE_PLUGINS
7 years ago
Gergely Nagy 952ef25177 Deprecate KEYMAP_SIZE too
7 years ago
Gergely Nagy 1025957eaa Deprecate Kaleidoscope.setup(keymap_count)
7 years ago
Gergely Nagy 646a9d65f9 Add a deprecation message to the _hook_use functions
7 years ago
Jesse Vincent 6325e87afa Merge pull request #192 from keyboardio/f/deprecation/MOMENTARY_OFFSET
7 years ago
Gergely Nagy 0fa9396ab2 Make the _hook_use aliases emit a deprecation warning
7 years ago
Gergely Nagy 27caf6e958 Drop the _hook_append and _hook_replace aliases
7 years ago
Gergely Nagy 522bd76d9e With the new layer terminology, deprecate MOMENTARY_OFFSET
7 years ago
Csilla Nagyné Martinák 14dfeae9a3 Rename the layer helper macros
7 years ago
Csilla Nagyné Martinák f05d9c817f Introduce two layer-switch helper functions
7 years ago
Jesse Vincent edbe32333e split out keymap key definitions to their own file
7 years ago
Craig Disselkoen 44ebeed109 Fix out-of-bounds memory accesses resulting from handleKeyswitchEvent()
7 years ago
Craig Disselkoen 374a3e136c Support for Kaleidoscope-Hardware-Virtual plugin
7 years ago
Craig Disselkoen 9955491971 Fix typo in keyswitch_state.h comments
7 years ago
Jesse Vincent 0467521354 astyle
7 years ago
Jesse Vincent 4914b24d85 Move key aliases to their own file and add back some aliases depended on
7 years ago
Craig Disselkoen 1ab2b45c2c Clearer (and more failsafe) implementation of deprecated methods
7 years ago
Craig Disselkoen 0b3c80b5ee Improved documentation for keyswitch states
7 years ago
Gergely Nagy 580f945270 Update the live composite keymap too at setup time
7 years ago
Gergely Nagy 53a1a2e361 Rename Layer.highest() to Layer.top()
7 years ago
Jesse Vincent a54dd140e1 Merge pull request #179 from keyboardio/f/Layer.highest
7 years ago
Gergely Nagy 9144701933 layers: Remove an unused & unimplemented function
7 years ago
Gergely Nagy 119d021e6a Layer: Add Layer.highest() to access the cached highestLayer
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 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 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
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 491dca3a4d
lint fix
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
Gergely Nagy 8b9fdaa90f Don't init `Layer.repeat_first_press` to true yet.
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
Gergely Nagy dc40c8e226 masking: Let the release event of a masked key through
7 years ago