how to use RC fom tvbox? - EmuELEC/EmuELEC GitHub Wiki

What is the purpose of using the remote control (RC) included with a TV-Box on EmuELEC?

The RC helps you to move around the menus in EmuELEC as well as using it to control the Mplayer (play, pause, stop, etc).

How to install

Requirements:

  • EmuELEC 3.6 or later
  • A remote.conf (Amlogic remote) or a Meson-IR configuration file (You need to choose one or the other)
  1. We can search for a configuration for a TV-Box, the best repository to date is https://mega.nz/folder/HskzhZRY#lyIxBd51cCMbbwZMNXkmuA
  2. After you found your configuration file, you need to install it on your TV-Box, installation depends on what type of configuration you downloaded:

Meson-IR:

Copy the KEYFILE to /storage/.config/rc_keymaps
Copy rc_maps.cfg to /storage/.config

Amlogic Remote:

Copy remote.conf to /storage/.config

Thanks: The CoreELEC team and its users for the best RC repo available (https://discourse.coreelec.org/t/repository-for-amlogic-meson-ir-remote-controllers/11023)

How to map your own RC? (Meson-IR)

If there is no configuration available for your box, you can create one manually following these steps.

  1. Using SSH type this command to start ir-keytable:
ir-keytable -p NEC,RC-5,RC-6,JVC,SONY -t

  1. While pressing all the buttons on the RC one by one write down the values for each.
  2. To make things easier, download a sample configuration file, like This one.

WARNING: DO NOT DELETE THE FIRST LINE.

  1. Replace each function value with your own, you can also map the values to other functions, you can see all the available functions here.

  2. After you are done mapping your RC you can copy the file to:

/storage/.config/rc_keymaps/NAMEOFBOX
  1. We create the following file "/storage/.config/rc_maps.cfg", and add this line.
meson-ir * NAMEOFBOX
  1. Now we need to load this configuration, by SSH type:
ir-keytable -a /storage/.config/rc_maps.cfg -s rc0
systemctl reboot
  1. If everything was correct your RC should now be working.