I know you are actively looking at how to handle the repeating on remote keys, and after playing around a bit, I don’t think there will ever be a “one size fits all” solution.
With the current eventlircd startup using --repeat-filter
to enable time-based repeat filtering, sometimes buttons that auto-repeat (like the arrows) will repeat on Kodi, and sometimes they don’t. Mostly, auto-repeat fails if the key is held down for a while and repeat works, then the key is released and pressed again without another key intervening. And, when repeating did work, it took quite a while to start, then moved at a reasonable speed for a while, then accelerated to way too fast.
On the other hand, I tried removing the --repeat-filter
option to disable time-based repeat and enable the default count-based filtering, repeats worked more reliably, but also were much too fast, like the end stages of the time-based repeat. But, I couldn’t figure out whether the osmc
user was the correct place to try to tweak the .lircrc file.
Now, I’m sure people with other remotes (like CEC, or the OSMC remote, or Harmony) will have different experiences, because no remote sends exactly the same way. What this tells me is that we need something the user can easily configure (no ssh required) to set the delay for first repeat and max repeat speed parameters, and maybe a “ramp-up” value that says how fast the repeat speed increases (if at all).
Putting this in MyOSMC will allow the config to be set and some kind of dummy list used to allow the user to test the settings without having to go back and find an appropriately long list somewhere else in the interface. Since MyOSMC is part of the Kodi user interface, the demo test should be fairly realistic compared to actual Kodi screens.