Commit Graph

309 Commits (8a33793a1c96b11a307d260f245044104832930b)

Author SHA1 Message Date
SjB df3d791165 Horizontal Mouse Scrolling Support in Kaleidoscope.
7 years ago
Michael Richters 1f7d9ed2e8 Wrong capitalization of `DefaultLayer` variable
7 years ago
Michael Richters 34cea2623d This iterator should count down, not up
7 years ago
Michael Richters 154f0f3267 Moved definition of MAX_LAYERS next to LayerState declaration
7 years ago
Michael Richters e822c6afad In case defaultLayer isn't zero, stop counting down there
7 years ago
Michael Richters f90891dc1c Added function to return the active layer of a given key
7 years ago
Michael Richters 00df66d30a Make updateHighestLayer() use layer_count if it's set
7 years ago
Michael Richters 918f25b623 Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS")
7 years ago
Gergely Nagy 2bc62cb8b9 hid: Wrap Mouse.releaseAll() and Mouse.sendReport()
7 years ago
Michael Richters 75a16eeb96 Brief description of Layer.on() & Layer.off()
7 years ago
Jesse Vincent 0a41083881
Merge pull request #244 from gedankenexperimenter/bug/layer-next
7 years ago
Jesse Vincent 8e03280e36
Merge pull request #251 from keyboardio/h/consumercontrol/repeat-fix
7 years ago
Michael Richters 195d6bc413 Better compliance with coding style guide
7 years ago
Jesse Vincent 4bcbab2c09
Merge pull request #247 from gedankenexperimenter/bug/shift-layer-release
7 years ago
Gergely Nagy be49df2806 Fix ConsumerControl repeating
7 years ago
Michael Richters dd1376978e Another comment update
7 years ago
Michael Richters 3dfb8caa11 Updated comment to match code
7 years ago
Michael Richters f6d627602e Only call updateLiveCompositeKeymap() on key press; not release
7 years ago
SjB 9843c57f13 fix: coding style with make astyle
7 years ago
SjB 49dfa476ed CONSUMER(key) macro to his the magic constant
7 years ago
SjB 8ab23033e7 Replace Key_16bit macro with a more discribtive macro CONSUMER_KEY
7 years ago
Michael Richters 0fb2abf6bc Added better comments to CREATE_KEYMAP() & LayerCount declarations
7 years ago
Michael Richters 36b461a99a If using an old sketch, ignore LayerCount
7 years ago
Michael Richters 2784d0e9a9 Use weak attribute declaration for LayerCount
7 years ago
Michael Richters de39e20d78 Define keymap layers with CREATE_KEYMAP macro
7 years ago
SjB d7dea8d89a two typos using lower case k for Key casting
7 years ago
SjB 4e33428786 using Macro to convert HID_CONSUMER_CODE to Key struct
7 years ago
SjB fa13851193 Merge branch 'master' into 10bitConsumerCodeSupport
7 years ago
Jesse Vincent c0407b2775
Merge pull request #238 from ejinks4/patch-1
7 years ago
Michael Richters 50ac31d0f5 Added a "sketch-trailer.h" header file
7 years ago
Michael Richters 9db5036a5c Make `LayerCount` available in layers.cpp
7 years ago
Michael Richters e7f9edba2d Added a check to prevent reading past the end of the keymaps[] array
7 years ago
SjB f57aab5f71 Support all 10bit HID Consumer code.
7 years ago
Jesse Vincent 3f1c80366a
Merge pull request #224 from algernon/f/getKeyboardLEDs
7 years ago
ejinks4 263f9a59c3
Update key_events.cpp (IS_INTERNAL Handling)
7 years ago
Michael Richters b607c667cb Fixed a typo in key def aliases (s/Key_LGuy/Key_LGui/)
7 years ago
Gergely Nagy 4f1d7a5670 Add kaleidoscope::hid::getKeyboardLEDs()
7 years ago
Gergely Nagy 8741c68f7b The first half of https://github.com/keyboardio/Kaleidoscope/pull/196
7 years ago
Jesse Vincent ec642fc955 Revert "Make KaleidoscopePlugin.begin protected by default"
7 years ago
Jesse Vincent 2b7e10cdbb Merge pull request #196 from keyboardio/f/protected-KaleidoscopePlugin.begin
7 years ago
Gergely Nagy de487990c3 Introduce KaleidoscopePlugin.initialSetup, and deprecate .begin
7 years ago
Craig Disselkoen 29690b8f34 Allow injected events tied to physical keyswitches
7 years ago
katee 1006136081
Fix URL to USD HID documentation
7 years ago
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 9182537fcf Make KaleidoscopePlugin.begin protected by default
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
Gergely Nagy ca8f586b2e Document the use of key masking a bit
7 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
7 years ago
Jesse Vincent e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
7 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
7 years ago
Jesse Vincent 7919922036
Move the hid facade out into its own namespace
7 years ago
Jesse Vincent 7e73341772
Move our hid facade into kaleidoscope::hid
7 years ago