EnglishFrenchSpanish

OnWorks favicon

ir-keytable - Online in the Cloud

Run ir-keytable in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ir-keytable that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ir-keytable - a swiss-knife tool to handle Remote Controllers.

SYNOPSIS


ir-keytable [OPTION]... --device [/dev/input/event* device]
ir-keytable [OPTION]... --sysdev [ir class (f. ex. rc0)]
ir-keytable [OPTION]... [for using the rc0 sysdev]

DESCRIPTION


ir-keytable is a tool that lists the Remote Controller devices, allows one to get/set IR
keycode/scancode tables, test events generated by IR, and to adjust other Remote
Controller options.

Note: You need to have read permissions on /dev/input for most of the options to work.

OPTIONS


-a, --auto-load=CFGFILE
Auto-load a table, based on a configuration file. Only works with sysdev.

-c, --clear
clears the old table

-d, --device=DEV
ir device to control

-D, --delay=DELAY
Sets the delay before repeating a keystroke

-k, --set-key=SCANKEY
Change scan/key pairs

-p, --protocol=PROTOCOL
Protocol to enable (the other ones will be disabled). To enable more than one, use
the option more than one time

-P, --period=PERIOD
Sets the period to repeat a keystroke

-r, --read
reads the current scancode/keycode table

-s, --sysdev=SYSDEV
ir class device to control

-t, --test
test if IR is generating events

-v, --verbose
enables debug messages

-w, --write=TABLE
write (adds) the scancodes to the device scancode/keycode table from the specified
TABLE file

-?, --help
Prints the help message

--usage
Give a short usage message

-V, --version
print the v4l2-utils version

Mandatory or optional arguments to long options are also mandatory or optional for any
corresponding short options. Options can be combined together.

The options arguments are:
DEV the /dev/input/event* device to control

SYSDEV the ir class as found at /sys/class/rc

TABLE a file wit a set of scancode=keycode value pairs

SCANKEY
a set of scancode1=keycode1,scancode2=keycode2.. value pairs

PROTOCOL
protocol name to be enabled (case insensitive). Supported protocols are: NEC, RC-5,
RC-6, JVC, SONY, SANYO, LIRC, RC-5-SZ, SHARP, MCE-KBD, XMP, other, all.

DELAY Delay before repeating a keystroke

PERIOD Period to repeat a keystroke

CFGFILE
configuration file that associates a driver/table name with a keymap file

EXIT STATUS


On success, it returns 0. Otherwise, it will return the error code.

EXAMPLES


To list all connected Remote Controller devices:
ir-keytable

To clean the keycode table and use a newer one:
ir-keytable -c -w /etc/rc_keymaps/nec_terratec_cinergy_xs

To append more codes to the existing table:
ir-keytable -w /etc/rc_keymaps/nec_terratec_cinergy_xs

To read the current keytable, on the second remote controller: ir-keytable -s rc1 -r

Use ir-keytable online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad