Kodi Community Forum
🆗 long press over CEC? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+---- Forum: Peripherals (https://forum.kodi.tv/forumdisplay.php?fid=254)
+---- Thread: 🆗 long press over CEC? (/showthread.php?tid=377006)



🆗 long press over CEC? - ExTechOp - 2024-04-08

Normally when using a remote control of a Kodi device, you press and hold the 🆗 key to get the context menu. Unfortunately, when the Kodi device (let's say an external box, running Android or CoreELEC) is being controlled via CEC from a different device remote control (let's say the television), the long 🆗 press will turn into a series of repeated presses, which of course will wreak havoc with your UI.

Is there some kind of a solution to get the long-press functionality also work remote controllers connected via CEC, it's a bit silly to have to use a specific remote control just for this device when another one also nearly works?


RE: 🆗 long press over CEC? - GavLovesGuinness - 2024-06-06

Have a read here:
https://osmc.tv/wiki/general/osmc-remote---long-press-keymap-guide/

Should be what you're after.


RE: 🆗 long press over CEC? - ExTechOp - 2024-11-30

(2024-06-06, 12:23)GavLovesGuinness Wrote: Have a read here:
https://osmc.tv/wiki/general/osmc-remote---long-press-keymap-guide/

Should be what you're after.
Technically, yes it likely is. In practice, finding the information about long presses is a bit hard since it starts with "in the beginning, the Earth was a molten mass…" and I really am not interested in becoming a full-time Kodi developer.
I'm a bit surprised nobody who understands the issues hasn't added a quick "TLDR; this is how you make that single thing you want to work" section into it.


RE: 🆗 long press over CEC? - izprtxqkft - 2024-11-30

(2024-11-30, 22:45)ExTechOp Wrote: I'm a bit surprised nobody who understands the issues hasn't added a quick "TLDR; this is how you make that single thing you want to work" section into it.


TLDR; the CEC long press comes down to the delay threshold kodi has vs what the cec device sends

f.e.
kodi's threshold for a long press 750ms
samsung tv sends a maximum long press of 500ms

(ms numbers are for example, i don't recall the real world numbers)

result
kodi doesn't see it as a long press and turns it into a bunch of presses

-----

i've brought this up before and IIRC i put a feature request in for it to be user configurable, nothing ever came of it
Zidoo allows the configuration of this setting