Skip to content
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

Fixes #2568 Fix issue with shift and multi tapping #2636

Merged
merged 2 commits into from Jan 29, 2020

Conversation

keianhzo
Copy link
Collaborator

Fixes #2568 Fix issue with shift and multi tapping

@keianhzo keianhzo self-assigned this Jan 14, 2020
@keianhzo keianhzo added this to the #9 polish milestone Jan 14, 2020
@bluemarvin
Copy link
Contributor

This patch doesn't work the way I expect. The time out seems to be too long. The double click gets the shift key into caps lock mode. But after that we should just reset since I don't think we need to support a triple click?

Copy link
Contributor

@bluemarvin bluemarvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either the multi tap timer need to be shorter or we only support up to double tap and set mInMultiTap to false after the double tap has been processed.

@keianhzo
Copy link
Collaborator Author

@bluemarvin I've rebased and reduced the multitap timeout. Also I have fixed the keyboard refresh, I've seen that we weren't updating both shift keys when multitapping. I think it's ok if multitapping several times keeps it enabled just in case you click more than two times by mistake.

Copy link
Contributor

@bluemarvin bluemarvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works better than the previous version.

@bluemarvin bluemarvin merged commit 854287c into master Jan 29, 2020
@bluemarvin bluemarvin deleted the v9/keyboard_shift_fix branch January 29, 2020 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants