input-remapper icon indicating copy to clipboard operation
input-remapper copied to clipboard

keys get stuck when profile is changed while being held

Open DreadPirateLynx opened this issue 3 years ago • 3 comments

After getting my input-remapper-manager working, I quickly ran into a problem: anything making use of h() or m() never completes if the profile changes while the key is being held down. This is causing keys to get stuck and devices to act unpredictably.

DreadPirateLynx avatar Feb 11 '22 19:02 DreadPirateLynx

@jonasBoss would it be possible to add __del__ to the mapping handlers to handle those cases and release everything?

sezanzeb avatar Feb 12 '22 10:02 sezanzeb

yeah should I will note it in my Todo

jonasBoss avatar Feb 12 '22 10:02 jonasBoss

nice. I'll avoid redundantly doing those fixes on main for the old system then. Looking forward to the end result!

sezanzeb avatar Feb 12 '22 10:02 sezanzeb

fixed by the reset method in mapping handlers

jonasBoss avatar Feb 20 '23 20:02 jonasBoss