MicahElliott / QWERkey

Modal keyboard layout for X11, optimized for minimal reach
MIT License
13 stars 1 forks source link

old Shift key on right + a generates "?A" #1

Open jganong opened 5 years ago

jganong commented 5 years ago

what i did:

git clone https://github.com/MicahElliott/QWERkey.git cd QWERkey/ ./qwerkey.zsh

hold the key physically labeled Shift on the right side of the keyboard and press "."

what i expected to happen: ">" should be generated. what actually happens: "?>" is generated.

hardware: thinkpad X1 Carbon software: arch linux

I have found a solution to this. It is not an exact replacement for qwerkey.zsh, so rather than a pull request I am attaching it to this issue. Rather than having directory with a separate xmodmap file, my script keeps it all in one file, so you can put it anywhere in your PATH.

kbs.txt

Thanks for QWERkey, I have been having fun with it!

jganong commented 5 years ago

i tried to replicate the bug on ubuntu 18.04 on an intel nuc using a gearhead keyboard.

the original qwerkey.zsh worked fine on ubuntu, but my modified kbs.txt malfunctioned: you had to press each modifier twice to get the tapifier to trigger. then it generated the tapifier key twice. i ran xcape -d and saw that xcape was seeing the key presses after the key releases.

finally, i found that when a web browser is running the issue goes away. so i added "firefox &" to my .xinitrc so it is always running. now kbs.txt works on both arch and ubuntu.

jganong commented 5 years ago

sorry about closing and reopening this issue, it was an accident.

jganong commented 5 years ago

reopening prematurely closed issue.