Auto mouse#2
Open
kuakeye wants to merge 3 commits into
Open
Conversation
Owner
|
Thanks again for this! If I remember correctly, you mentioned there was some lingering odd behavior. Is that addressed in this PR? If not, could you remind me of what it is? |
Author
|
Oh, so I thought there's a bug where the keycode will still be sent from the top layer when in the auto mouse layer. But turns out, I was just using the 'passthrough' keycode "_______" which let non-assigned keycodes to pass through to the primary layer while on the auto mouse layer. The fix would be to use KC_NO instead of passthrough, and that would be a preferential thing |
bullwinkle3000
added a commit
that referenced
this pull request
Feb 14, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Feature: Auto Mouse Layer
This PR integrates a new-ish feature from QMK pointing device: auto mouse layer.
Whenever a mouse event happens, the specified layer will be triggered.
The layer can be chosen using AUTO_MOUSE_DEFAULT_LAYER.
Other required 'user-facing changes' include changes in the following files:
These changes are included in this PR, with an example default layer pointing to layer enum 2. The only thing left to get it to work is to create some mouse-specific buttons on layer 2, or create a new mouse layer and set the AUTO_MOUSE_DEFAULT_LAYER accordingly.