Skip to content

'the' and 'THe' Problem #67

@tmk

Description

@tmk

'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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions