xcape icon indicating copy to clipboard operation
xcape copied to clipboard

Delay prints character too late

Open carl-westerlund opened this issue 7 years ago • 3 comments

I really like xcape. I have remaped space to shift and then xcape inserts a space if I pressed and released space on it's own. Sometimes when I write fast, the first character I write after a space is printed before the space, like this "Sometimesw hen". Can I do something about this?

carl-westerlund avatar Oct 10 '17 18:10 carl-westerlund

Any update on this issue? this is also what i'm experiencing, I tried using -t <timeout> ms but no luck..

cevhyruz avatar Sep 12 '18 09:09 cevhyruz

xcape doesn't work within a serial keyboard handling queue (as kind of a filter) it doesn't (and can't) interupt the systems key handling if it should.

If you write very fast, following keys might be handled by the system while in parallel xcape gets informed about the previos key (by XRecord, IIRC) and is still handling it.

Perhaps you could use nice -20 xcape ... to make xcape a little faster. But since it has to be informed about the keypress and simulate an other one, I wouldn't put to much hope in this idea.

c-max avatar Sep 12 '18 11:09 c-max

There's some new info about this in here: #109

loota avatar Mar 27 '19 21:03 loota