v16 keymap longpress mod - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: v16 keymap longpress mod (/showthread.php?tid=260572) |
keymap longpress mod - rntnpln - 2016-02-21 Hi there, can anybody explain to me the longpress mod for Jarvis: is it restricted to keyboards only? Everything works fine (lirc.conf-Lircmap.xml-remote.xml) exept that my <play mod="longpress">Info</play> will work in "normalmode" as if i didn't told him to use the longpress mod. thx RE: keymap longpress mod - Ned Scott - 2016-02-21 In theory it should work for stuff other than keyboards (I'm not 100% sure on that), but I do know that IR remotes complicate the issue. Some behave differently in how they send a signal, so Kodi might see everything as long press, nothing as long press, long presses as repeating short presses (depending on the timing), etc. What remote and IR receiver are you using? RE: keymap longpress mod - rntnpln - 2016-03-06 Thanx! i use a RPI2 GPIO Receiver and a AppleRemote A1156. But the most notable problem lays probably in the keymapping, 'cause when mapped with mod="longpress" it's simply ignored. For eyample: Code: [lircd.conf] 16.0 Git:a5f3a99 Media Center Kodi ...what if i limit the repeat to one in the lircd.conf ? RE: keymap longpress mod - Ned Scott - 2016-03-07 The Apple remote actually sends a different IR signal from the remote itself for long-press, I think, and only for certain buttons. You can see how it works with the default keymap for ATV remote: https://github.com/xbmc/xbmc/blob/master/system/keymaps/joystick.AppleRemote.xml The long-presses for left, right, menu, and select have different button IDs. I don't see any for up, down, or play/pause. |