-
-
Notifications
You must be signed in to change notification settings - Fork 39.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) #9889
Conversation
eabb768
to
bba7239
Compare
This looks great, and is much (much) cleaner than my implementation which I've been using hardcoded in First off, this is not controllable by the Auto Shift toggle keys. Some just toggle AS if their base layers are normal enough to game on with it disabled. This could be fixed together with below, by calling AS itself. My second concern is maintaining consistent behavior - there's currently an open pull for AutoShift keyrepeat and if we're making this an included feature I feel we should find a way to support that. That should be as simple as calling |
I've retargeted to the |
I just tested, and the approach I outlined above works. I've not put it anywhere online yet, as the small changes to AS depend on whether custom shifts is merged in the other pull, but it's quite simple to throw together. Not sure if we want to merge this and 'fix' it in the other pull when that's merged or just wait. |
bba7239
to
dd5cfaf
Compare
Thanks @drashna, it's now rebased onto |
@IsaacElenbaas Thanks! This is independent of the Auto Shift implementation, and if that is changing soon I'd like to keep it separate for now. If this PR is accepted and the appropriate interfaces are added to Auto Shift later then this implementation could be modified to use them instead. That could include toggle, although if off it would then revert to normal tap hold behaviour which probably isn't useful for gaming anyway. |
There's obviously no issue with merging this now, aside from cluttering that pull or having to make a new one. I just doubt many of the few using AS would notice and switch over in the time we would delay this but not be willing to work from a branch - my hope is that won't take too long to be merged lol. I'm not saying we should wait, just pointing it out.
I disagree. Mod taps are just as great for gaming as they are everywhere else, even if only for rarely used actions. There are no reasons to have this enabled but not AS itself, so if this is merged before the adaptation I suggested is viable I think this should respect the AS enabled state if at all possible. |
This needs to be rebased upon |
dd5cfaf
to
efa07c5
Compare
Thanks @noroadsleft, it's now rebased onto the force-pushed |
efa07c5
to
659acd5
Compare
Rebased after force-push to |
* Per-encoder resolutions * Resolutions for right hand
* Branch point for 2020 November 28 Breaking Change Update readme.md * Share button state from mousekey to pointing_device Co-authored-by: Nick Brassel <[email protected]> Co-authored-by: James Young <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weak approval.
* Add Advanced RGB Matrix effects Add a new option, so that we can better handle custom indicators * Switch to led min/max instead of params Because params has already been incremented and is wrong now * Add indicator color function for use with advanced indicator functions * Add docs and helper macros * Add comment for explanations * Fix macro variables * Fix typo * Run clang-format on rgb_matrix.h
6470747
to
c40af5d
Compare
Rebased after force-push to |
c40af5d
to
c3de342
Compare
If anyone would like to use this now, this branch is based on master instead and won't be rebased. |
AS keyrepeat and early registration pull was just merged, so what I said here should definitely be done if only for firmware size (though behavior is also different now, with keyrepeat) before this is merged. I'm going to move my custom shifts pull and then am planning on opening a pull into this branch to make this call If possible, could you rebase this again? Would make it easier to look through. |
@manna-harbour said in Discord it would be fine for me to open the above pull due to many conflicts with this and custom shifts, which now has basic implementation. Retro Shift shouldn't need much more work, but I won't be able to do anything to it for a while.
EDIT: then stared at |
Looks like this needs a rebase. |
The retro shift part of that is ready. IMO this should be closed now - it adds twice the lines (I'm thinking of firmware size), doesn't work with |
Description
Retro Shift (Auto Shift for Tap Hold via Retro Tapping) combines the Tap Hold logic of Retro Tapping with the configurable keycode range matching of Auto Shift while preserving the ability to hold and release without producing a tap.
Types of Changes
Issues Fixed or Closed by This PR
Checklist