IR-KEYTABLE(1) | User Commands | IR-KEYTABLE(1) |
ir-keytable - a swiss-knife tool to handle Remote Controllers.
ir-keytable [OPTION]...
ir-keytable is a tool that lists Remote Controller devices, loads rc keymaps, tests events, and adjusts other Remote Controller options.
Rather than loading a rc keymap, it is also possible to set protocol decoders and set rc scancode to keycode mappings directly.
Note: You need to have read permissions on /dev/input for most of the options to work.
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Options can be combined together.
On success, it returns 0. Otherwise, it will return the error code.
To list all connected Remote Controller devices:
ir-keytable
To clean the keycode mapping and use a newer one:
ir-keytable -c -w /etc/rc_keymaps/nec_terratec_cinergy_xs.toml
To append more codes to the existing table:
ir-keytable -w /etc/rc_keymaps/nec_terratec_cinergy_xs.toml
To read the current scancode to keycode mapping on the second
remote controller:
ir-keytable -s rc1 -r
To enable NEC protocol and load a BPF protocol, with a parameter
for the BPF protocol:
ir-keytable -p nec,pulse_distance -e pulse_header=9000
If you do not know what protocol a remote uses, it can be helpful
to first try with all kernel decoders enabled. The decoded protocol and
scancodes will be displayed in the output:
ir-keytable -c -p all -t
Report bugs to Linux Media Mailing List <linux-media@vger.kernel.org>
Copyright (c) 2010-2014 by Mauro Carvalho Chehab.
License GPLv2: GNU GPL version 2
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
The keymap format is described in rc_keymap(5).
To transmit IR or receive raw IR, see ir-ctl(1).
Fri Oct 3 2014 | v4l-utils 1.20.0 |