2016-02-26, 05:59
In need of a specific solution to help my elderly father use his keyboard as a controller. He will often press and hold a key simply because in his old age his response time has slowed. He also will sometimes press - and hold - the key until something happens on screen.
Is anyone here familiar with how to disable a key immediately after being pressed for a period of time? I have looked around but have only learned how to configure a remote delay. We are using a traditional wireless USB keyboard. I imagine this would require a python script, but I am unsure how to query the current key pressed, let alone how to activate or deactivate specific keys.
Alternatively, if a method exists for controlled the key repeat rate within koi (or OSMC, which is the flavor I am using) that would be helpful as well.
I did try using the longpress property in the keymap, but this did nothing. I imagine that is not something used for keyboards, but instead for remotes.
Is anyone here familiar with how to disable a key immediately after being pressed for a period of time? I have looked around but have only learned how to configure a remote delay. We are using a traditional wireless USB keyboard. I imagine this would require a python script, but I am unsure how to query the current key pressed, let alone how to activate or deactivate specific keys.
Alternatively, if a method exists for controlled the key repeat rate within koi (or OSMC, which is the flavor I am using) that would be helpful as well.
I did try using the longpress property in the keymap, but this did nothing. I imagine that is not something used for keyboards, but instead for remotes.