makerdiary / python-keyboard

A hand-wired USB & Bluetooth keyboard powered by Python and more
https://makerdiary.com/m60
MIT License
483 stars 60 forks source link

Layer tap key does not repeat #17

Open jameskeim opened 3 years ago

jameskeim commented 3 years ago

I probably wouldn't have run across this but I use the SPACE key as my "layer 1" Layer Tap Key. In QMK when I use this configuration, I can make the SPACE key auto repeat by tapping it twice and holding it on the second tap. However, the python-keyboard code doesn't recognize this.

I have found a work around that is great for keys like SPACE and ENTER that don't have shifted variants. I put SPACE on "layer 4" and can then SHIFT-SPACE an auto repeat if I need it. I don't have as much need for auto repeating B, D, or ';' but I could see this as being a potential issue in some edge cases.

xiongyihui commented 3 years ago

Indeed, the tap-key does not repeat. It's a byproduct of the tap-key feature. We should document it more clearly.