input-remapper
input-remapper copied to clipboard
keys get stuck when profile is changed while being held
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.
@jonasBoss would it be possible to add __del__
to the mapping handlers to handle those cases and release everything?
yeah should I will note it in my Todo
nice. I'll avoid redundantly doing those fixes on main for the old system then. Looking forward to the end result!
fixed by the reset method in mapping handlers