Kodi Community Forum
Programming 2.4 remote? - 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: Programming 2.4 remote? (/showthread.php?tid=362701)



Programming 2.4 remote? - maxfr - 2021-05-19

Good day. Im making TV box on RPi 4 and I would like remote control with USB wireless receiver and ability to programm keys as I want (to example key "Home" as "Tab"), I also need irda in this remote to control TV. Does anyone know similar models? 
Or maybe, Linux have the ability to intercept keys and start custom scripts on default keyboard keys?


RE: Programming 2.4 remote? - DarrenHill - 2021-05-19

Rpi has CEC (wiki) built-in, so you should be able to control Kodi directly using the TV remote for most modern tv's using HDMI connection using distros like LibreElec and OSMC.

The keys passed through may be limited, but the keymap editor (from the program addons section of the official Kodi repo) can be used to redefine those that are passed through.

Otherwise a FLIRC dongle can be recommended. Those take inputs from any IR remote control and convert them to appear as keyboard keypresses via the USB port. They are programmed via a special PC/mac program, and can be set up how you want.