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

'the' and 'THe' Problem #67

Closed
tmk opened this issue Oct 3, 2013 · 1 comment
Closed

'the' and 'THe' Problem #67

tmk opened this issue Oct 3, 2013 · 1 comment
Labels

Comments

@tmk
Copy link
Owner

tmk commented Oct 3, 2013

'the' and 'THe' problem

Getting 'the' or 'THe' unintentionally instead of 'The' due to ill-timed Shift key press.
#1. Oneshot modifier(implemented)

This is one of solutions to the problem('the' case). See also #66.

'the' strokes with too early Shift:

Shift ~___~~~~~~~~~~~~~~~~               
t     ~~~~~____~~~~~~~~~~~               
h     ~~~~~~~_____~~~~~~~~               
e     ~~~~~~~~~~______~~~~

This releases Shift key earlier before 't' is pressed down, without Oneshot Shift you will get 'the' instead of 'The'. With Oneshot function the mistaken Shift turns into onetime Shift and takes effect on 't'.
#2. Shift Hack(not implemented)

This is another solution. This produces 'The' even from wrong strokes of 'THe'.

My problem was already solved with Oneshot Shift and I seldom get unintentional 'the' or 'THe'. I don't need this function anymore.

Rule of Shift Hack

Capitalize occurs only on first key even if shift key is held down till down stroke of sencond key('h'). See 'THe' strokes.

Limit of Shift Hack

To get two capital letters, you must hold down Shift key until second key is released. One and three or more capital letters is not affected by this. See 'TH' strokes.

'The' strokes:

Shift ~____~~~~~~~~~~~~~~~
t     ~~~______~~~~~~~~~~~
h     ~~~~~~______~~~~~~~~
e     ~~~~~~~~~~______~~~~

This is completely legitimate key strokes of 'The'.

'THe' strokes:

Shift ~______~~~~~~~~~~~~~
t     ~~~______~~~~~~~~~~~
h     ~~~~~~______~~~~~~~~
e     ~~~~~~~~~~______~~~~
            ^ Shift key is not released yet when 'h' is pressed, this resuts in 'H' when  without the hack.

This registers 'THe' in normal keyboard. But with Shift Hack you will get 'The' from the above rule.

'TH' strokes:

Shift ~____________~~~~~~~                                                                                                                                                                         
t     ~~~______~~~~~~~~~~~
h     ~~~~~~______~~~~~~~~

With Shift Hack to get 'TH' you must hold down Shift key till 'h' key is released. Normal keybaord has no limit like this.

'THE' strokes:

Shift ~___________~~~~~~~~
t     ~~~______~~~~~~~~~~~
h     ~~~~~~______~~~~~~~~
e     ~~~~~~~~~~______~~~~

This is handled normally even with Shift Hack.

@tmk
Copy link
Owner Author

tmk commented Sep 28, 2014

With oneshot shift key my problem was solved.

@tmk tmk closed this as completed Sep 28, 2014
ddacunha pushed a commit to ddacunha/tmk_keyboard that referenced this issue Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant