Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

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

Merged
bluemarvin merged 2 commits intomasterfrom
v9/keyboard_shift_fix
Jan 29, 2020
Merged

Fixes #2568 Fix issue with shift and multi tapping#2636
bluemarvin merged 2 commits intomasterfrom
v9/keyboard_shift_fix

Conversation

@keianhzo
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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 keianhzo force-pushed the v9/keyboard_shift_fix branch from 848eb41 to ad114b4 Compare January 24, 2020 17:33
@keianhzo
Copy link
Copy Markdown
Contributor 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.

@keianhzo keianhzo requested a review from bluemarvin January 24, 2020 17:45
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Keyboard] The keyboard doesn't change to lowercase if the up arrow key it's quickly clicked three times or more

2 participants