Fuck this whole thing. Why does it have to be so outdated and complicated?!
- ir-keytable and triggerhappy are the MVPs
- no need for lirc at all, which just installs 100meg of unused GTK & Gnome stuff
- this samsung remote uses keycodes from two different protocols (necx + samsung)
(This is Raspberry Pi specific).
In /boot/config.txt
make sure you have infra enabled:
dtoverlay=gpio-ir,gpio_pin=17
(change GPIO as needed)
Install using apt install ir-keytable
.
Copy the attached samsung.toml
and samsung-other.toml
files to /etc/rc_keymaps/
Load the newly created when ir-keytables runs, by adding these lines to /etc/rc_maps.cfg
:
# driver table file
* * samsung.toml
* * samsung-other.toml
They'll load two different protocols: necx and samsung36 from /usr/lib/udev/rc_keymaps/protocols
, and config basic key codes.
See the example config attached, otherwise just go to https://github.com/wertarbyte/triggerhappy and see your options
LibreELEC infra setup guide: https://wiki.libreelec.tv/configuration/ir-remotes
MusicLounge Triggerhappy install guiude: https://linuxaudiofoundation.org/category/triggerhappy/