Удобно будет управлять медиацентром на платформе Orange Pi OpenELEC Kodi с пульта дистанционного управления. На большинстве плат микрокомпьютеров Orange Pi установлены инфракрасные датчики (приемники), к остальным такой датчик можно подключить. У нас плата Orange Pi PC PLUS со встроенным IR приемником.

Подключимся к OpenELEC системе удаленно по SSH протоколу. Естественно на вкладке Система/OpenELEC/Службы должен быть включен SSH.

ssh root@192.168.1.22
root@192.168.1.22's password: openelec
##############################################
#                  OpenELEC                  #
#             http://openelec.tv             #
##############################################

OpenELEC (community) Version: devel-20161026221641-r23113-g64b34b3
OpenELEC git: 64b34b380c3102239acb8306b5f17020979793e8
OpenELEC:~ #

Проверим работоспособность пульта и ИК приемника.

OpenELEC:~ # mode2 -d /dev/lirc0
space 16777215
pulse 8888
space 4400
pulse 600
space 520
pulse 592
space 520
pulse 592
space 520

Запустите команду mode2 - d /dev/lirc0, нажимайте на пульте кнопки, по экрану побегут цифры. Выход из команды mode2 Ctrl+C.

Посмотрим, какая система команд дистанционного управления доступна в вашей системе?

OpenELEC:~ # irrecord -l
KEY_0
KEY_102ND
KEY_10CHANNELSDOWN
KEY_10CHANNELSUP
KEY_1
KEY_2
KEY_3
KEY_4
KEY_5
KEY_6
KEY_7
KEY_8
KEY_9
KEY_A
KEY_AB
KEY_ADDRESSBOOK
KEY_AGAIN
KEY_ALTERASE
KEY_ANGLE
KEY_APOSTROPHE
KEY_ARCHIVE
KEY_AUDIO
KEY_AUX
KEY_B
KEY_BACK
KEY_BACKSLASH
KEY_BACKSPACE
KEY_BASSBOOST
KEY_BATTERY
KEY_BLUE
KEY_BLUETOOTH
KEY_BOOKMARKS
KEY_BREAK
KEY_BRIGHTNESS_CYCLE
KEY_BRIGHTNESSDOWN
KEY_BRIGHTNESSUP
KEY_BRIGHTNESS_ZERO
KEY_BRL_DOT10
KEY_BRL_DOT1
KEY_BRL_DOT2
KEY_BRL_DOT3
KEY_BRL_DOT4
KEY_BRL_DOT5
KEY_BRL_DOT6
KEY_BRL_DOT7
KEY_BRL_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DEO
KEY_VIDEO_NEXT
KEY_VIDEOPHONE
KEY_VIDEO_PREV
KEY_VOICEMAIL
KEY_VOLUMEDOWN
KEY_VOLUMEUP
KEY_W
KEY_WAKEUP
KEY_WIMAX
KEY_WLAN
KEY_WORDPROCESSOR
KEY_WWW
KEY_X
KEY_XFER
KEY_Y
KEY_YELLOW
KEY_YEN
KEY_Z
KEY_ZENKAKUHANKAKU
KEY_ZOOM
KEY_ZOOMIN
KEY_ZOOMOUT
KEY_ZOOMRESET
BTN_0
BTN_1
BTN_2
BTN_3
BTN_4
BTN_5
BTN_6
BTN_7
BTN_8
BTN_9
BTN_A
BTN_B
BTN_BACK
BTN_BASE
BTN_BASE2
BTN_BASE3
BTN_BASE4
BTN_BASE5
BTN_BASE6
BTN_C
BTN_DEAD
BTN_DIGI
BTN_EXTRA
BTN_FORWARD
BTN_GAMEPAD
BTN_GEAR_DOWN
BTN_GEAR_UP
BTN_JOYSTICK
BTN_LEFT
BTN_MIDDLE
BTN_MISC
BTN_MODE
BTN_MOUSE
BTN_PINKIE
BTN_RIGHT
BTN_SELECT
BTN_SIDE
BTN_START
BTN_STYLUS
BTN_STYLUS2
BTN_TASK
BTN_THUMB
BTN_THUMB2
BTN_THUMBL
BTN_THUMBR
BTN_TL
BTN_TL2
BTN_TOOL_AIRBRUSH
BTN_TOOL_BRUSH
BTN_TOOL_DOUBLETAP
BTN_TOOL_FINGER
BTN_TOOL_LENS
BTN_TOOL_MOUSE
BTN_TOOL_PEN
BTN_TOOL_PENCIL
BTN_TOOL_QUADTAP
BTN_TOOL_RUBBER
BTN_TOOL_TRIPLETAP
BTN_TOP
BTN_TOP2
BTN_TOUCH
BTN_TR
BTN_TR2
BTN_TRIGGER
BTN_WHEEL
BTN_X
BTN_Y
BTN_Z

Достаточно большой список.

Выберем подходящий нам набор исходя из имеющегося в наличии пульта дистанционного управления. У меня один из самых не дорогих на AliExpress ИК пульт ДУ. В моем пульте 4 кнопки со стрелками, кнопка ОК, 10 цифровых кнопок, звездочка и решетка. Итого 17 кнопок. Что мне понадобится: KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER, KEY_VOLUMEUP, KEY_VOLUMEDOWN, KEY_MUTE, KEY_BACK, KEY_HOME, KEY_POWER, и др.

ИК пульт ДУ для KODI

Создать конфигурационный файл для ИК управления можно с помощью программы irrecord. Если файл /storage/.config/lircd.conf существует, предварительно удалите его.

OpenELEC:~ # irrecord /storage/.config/lircd.conf -d /dev/lirc0

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

This program will record the signals from your remote control
and create a config file for lircd.


A proper config file for lircd is maybe the most vital part of this
package, so you should invest some time to create a working config
file. Although I put a good deal of effort in this program it is often
not possible to automatically recognize all features of a remote
control. Often short-comings of the receiver hardware make it nearly
impossible. If you have problems to create a config file READ THE
DOCUMENTATION of this package, especially section "Adding new remote
controls" for how to get help.

If there already is a remote control of the same brand available at
http://www.lirc.org/remotes/ you might also want to try using such a
remote as a template. The config files already contain all
parameters of the protocol used by remotes of a certain brand and
knowing these parameters makes the job of this program much
easier. There are also template files for the most common protocols
available in the remotes/generic/ directory of the source
distribution of this package. You can use a template files by
providing the path of the file as command line parameter.

Please send the finished config files to <lirc@bartelmus.de> so that I
can make them available to others. Don't forget to put all information
that you can get about the remote control in the header of the file.

Press RETURN to continue.


Now start pressing buttons on your remote control.

It is very important that you press many different buttons and hold them
down for approximately one second. Each button should generate at least one
dot but in no case more than ten dots of output.
Don't stop pressing buttons until two lines of dots (2x80) have been
generated.

Press RETURN now to start recording.
................................................................................
Found const length: 139177
Please keep on pressing buttons like described above.
................................................................................
Space/pulse encoded remote control found.
Signal length is 67.
Found possible header: 8855 4421
Found trail pulse: 562
Found repeat code: 8856 2196
Signals are space encoded.
Signal length is 32
Now enter the names for the buttons.

Please enter the name for the next button (press  to finish recording)
KEY_UP

Now hold down button "KEY_UP".

Please enter the name for the next button (press  to finish recording)
KEY_LEFT

Now hold down button "KEY_LEFT".

Please enter the name for the next button (press  to finish recording)
KEY_OK

Now hold down button "KEY_OK".

Please enter the name for the next button (press  to finish recording)
KEY_RIGHT

Now hold down button "KEY_RIGHT".

Please enter the name for the next button (press  to finish recording)
KEY_DOWN

Now hold down button "KEY_DOWN".

Please enter the name for the next button (press  to finish recording)
KEY_VOLUMEUP

Now hold down button "KEY_VOLUMEUP".

Please enter the name for the next button (press  to finish recording)
KEY_MUTE

Now hold down button "KEY_MUTE".

Please enter the name for the next button (press  to finish recording)
KEY_VOLUMEDOWN

Now hold down button "KEY_VOLUMEDOWN".

Please enter the name for the next button (press  to finish recording)
KEY_EPG

Now hold down button "KEY_EPG".

Please enter the name for the next button (press  to finish recording)
KEY_ENTER

Now hold down button "KEY_ENTER".

Please enter the name for the next button (press  to finish recording)
KEY_CLEAR

Now hold down button "KEY_CLEAR".

Please enter the name for the next button (press  to finish recording)
KEY_PLAY

Now hold down button "KEY_PLAY".

Please enter the name for the next button (press  to finish recording)
KEY_PAUSE

Now hold down button "KEY_PAUSE".

Please enter the name for the next button (press  to finish recording)
KEY_STOP

Now hold down button "KEY_STOP".

Please enter the name for the next button (press  to finish recording)
KEY_BACK

Now hold down button "KEY_BACK".

Please enter the name for the next button (press  to finish recording)
KEY_HOME

Now hold down button "KEY_HOME".

Please enter the name for the next button (press  to finish recording)
KEY_POWER

Now hold down button "KEY_POWER".

Please enter the name for the next button (press  to finish recording)

Checking for toggle bit mask.
Please press an arbitrary button repeatedly as fast as possible.
Make sure you keep pressing the SAME button and that you DON'T HOLD
the button down!.
If you can't see any dots appear, then wait a bit between button presses.

Press RETURN to continue.
irrecord: no data for 10 secs, aborting

No toggle bit mask found.
Successfully written config file.

Не забудьте перезагрузить медиацентр.

Если еще остались вопросы, посмотрите файл /usr/share/xbmc/system/Lircmap.xml

OpenELEC:~ # cat /usr/share/xbmc/system/Lircmap.xml | more
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml  -->
<!--                                                                              -->
<!-- How to add remotes                                                           -->
<!-- <remote device="name_Lirc_calls_the_remote">                                 -->
<!--                                                                              -->
<!-- For the commands the layout following layout is used                         -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND>                                  -->
<!--                                                                              -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml   -->

<lircmap>
        <remote device="mceusb">
                <play>Play</play>
                <pause>Pause</pause>
                <stop>Stop</stop>
                <forward>Forward</forward>
                <reverse>Rewind</reverse>
                <left>Left</left>
                <right>Right</right>
                <up>Up</up>
                <down>Down</down>
                <select>OK</select>
                <pageplus>ChanUp</pageplus>
                <pageminus>ChanDown</pageminus>
                <back>Back</back>
                <menu>DVD</menu>
                <title>Guide</title>
                <info>More</info>
                <skipplus>Skip</skipplus>
                <skipminus>Replay</skipminus>
                <display>Aspect</display>
                <start>Home</start>
                <record>Record</record>
                <volumeplus>VolUp</volumeplus>
                <volumeminus>VolDown</volumeminus>
                <mute>Mute</mute>
                <power>Power</power>
                <myvideo>Videos</myvideo>
                <mymusic>Music</mymusic>
                <mypictures>Pictures</mypictures>
                <mytv>TV</mytv>
                <one>One</one>
                <two>Two</two>
                <three>Three</three>
                <four>Four</four>
                <five>Five</five>
                <six>Six</six>
                <seven>Seven</seven>
                <eight>Eight</eight>
                <nine>Nine</nine>
                <zero>Zero</zero>
                <star>Star</star>
                <hash>Hash</hash>
                <clear>Clear</clear>
                <enter>Enter</enter>
                <red>Red</red>
                <green>Green</green>
                <yellow>Yellow</yellow>
                <blue>Blue</blue>
                <teletext>Teletext</teletext>
                <print>Print</print>

                <!-- new kernel-based lirc button names -->
                <eject>KEY_EJECTCD</eject>
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_OK</select>
                <start>KEY_HOME</start>
                <back>KEY_BACK</back>
                <record>KEY_RECORD</record>
                <play>KEY_PLAY</play>
                <pause>KEY_PAUSE</pause>
                <stop>KEY_STOP</stop>
                <forward>KEY_FORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <skipplus>KEY_NEXT</skipplus>
                <skipminus>KEY_AGAIN</skipminus>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <livetv>LiveTV</livetv>
                <guide>KEY_EPG</guide>
                <one>KEY_1</one>
                <two>KEY_2</two>
                <three>KEY_3</three>
                <four>KEY_4</four>
                <five>KEY_5</five>
                <six>KEY_6</six>
                <seven>KEY_7</seven>
                <eight>KEY_8</eight>
                <nine>KEY_9</nine>
                <zero>KEY_0</zero>
                <red>KEY_RED</red>
                <green>KEY_GREEN</green>
                <yellow>KEY_YELLOW</yellow>
                <blue>KEY_BLUE</blue>
                <menu>KEY_DVD</menu>
                <clear>KEY_CLEAR</clear>
                <enter>KEY_ENTER</enter>
        </remote>
        
        <remote device="XboxDVDDongle">
                <play>PLAY</play>
                <pause>PAUSE</pause>
                <stop>STOP</stop>
                <forward>FORWARD</forward>
                <reverse>REVERSE</reverse>
                <left>LEFT</left>
                <right>RIGHT</right>
                <up>UP</up>
                <down>DOWN</down>
                <select>SELECT</select>
                <back>BACK</back>
                <menu>MENU</menu>
                <title>TITLE</title>
                <info>INFO</info>
                <skipplus>SKIP+</skipplus>
                <skipminus>SKIP-</skipminus>
                <display>DISPLAY</display>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>0</zero>
        </remote>

        <remote device="Microsoft_Xbox">
                <play>PLAY</play>
                <pause>PAUSE</pause>
                <stop>STOP</stop>
                <forward>FORWARD</forward>
                <reverse>REVERSE</reverse>
                <left>LEFT</left>
                <right>RIGHT</right>
                <up>UP</up>
                <down>DOWN</down>
                <select>SELECT</select>
                <back>BACK</back>
                <menu>MENU</menu>
                <title>TITLE</title>
                <info>INFO</info>
                <skipplus>SKIP+</skipplus>
                <skipminus>SKIP-</skipminus>
                <display>DISPLAY</display>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>0</zero>
        </remote>

        <remote device="PinnacleSysPCTVRemote">
                <play>KEY_PLAY</play>
                <pause>KEY_PAUSE</pause>
                <stop>KEY_STOP</stop>
                <forward>KEY_FASTFORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <left>Vol-Rew</left>
                <right>Vol+FF</right>
                <up>Chan+Play</up>
                <down>Chan-Stop</down>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <select>middle</select>
                <back>KEY_UNDO</back>
                <menu>KEY_MENU</menu>
                <title>KEY_L</title>
                <info>KEY_INFO</info>
                <skipplus>KEY_NEXT</skipplus>
                <display>Fullscreen</display>
                <record>KEY_RECORD</record>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <one>KEY_1</one>
                <two>KEY_2</two>
                <three>KEY_3</three>
                <four>KEY_4</four>
                <five>KEY_5</five>
                <six>KEY_6</six>
                <seven>KEY_7</seven>
                <eight>KEY_8</eight>
                <nine>KEY_9</nine>
                <zero>KEY_0</zero>
        </remote>

        <remote device="anysee">
                <pause>pause</pause>
                <stop>stop</stop>
                <forward>f1</forward>
                <reverse>f2</reverse>
                <left>left</left>
                <right>right</right>
                <up>chan-up</up>
                <down>chan-down</down>
                <select>ok</select>
                <back>exit</back>
                <menu>menu</menu>
                <title>play</title>
                <info>info</info>
                <skipplus>jump-fwd</skipplus>
                <skipminus>jump-back</skipminus>
                <display>size</display>
                <start>star</start>
                <record>rec</record>
                <volumeplus></volumeplus>
                <volumeminus></volumeminus>
                <mute>mute</mute>
                <power>power</power>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>0</zero>
                <red>red</red>
                <green>green</green>
                <yellow>yellow</yellow>
                <blue>blue</blue>
                <subtitle>subtitle</subtitle>
                <language>audio</language>
        </remote>

        <remote device="iMON-PAD">
                <power>Power</power>
                <record>Record</record>
                <play>Play</play>
                <reverse>Rewind</reverse>
                <pause>Pause</pause>
                <stop>Stop</stop>
                <forward>FastForward</forward>
                <left>Left</left>
                <right>Right</right>
                <up>Up</up>
                <down>Down</down>
                <select>Enter</select>
                <pageplus>Ch+</pageplus>
                <pageminus>Ch-</pageminus>
                <back>Esc</back>
                <back>Backspace</back>
                <menu>Multimon</menu>
                <title>MouseMenu</title>
                <info>SelectSpace</info>
                <skipplus>NextChapter</skipplus>
                <skipminus>PrevChapter</skipminus>
                <display>FullScreen</display>
                <start>MultiMon</start>
                <volumeplus>Vol+</volumeplus>
                <volumeminus>Vol-</volumeminus>
                <mute>Mute</mute>
                <myvideo>MyMovie</myvideo>
                <mymusic>MyMusic</mymusic>
                <mypictures>MyPhoto</mypictures>
                <mytv>MyTV</mytv>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>0</zero>
                <subtitle>Language</subtitle>
        </remote>

        <remote device="Antec_Veris_RM200">
                <stop>KEY_STOP</stop>
                <pause>KEY_PAUSE</pause>
                <forward>KEY_FASTFORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_ENTER</select>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <back>KEY_BACKSPACE</back>
                <menu>KEY_MENU</menu>
                <play>KEY_PLAY</play>
                <info>Go</info>
                <skipplus>next</skipplus>
                <skipminus>prev</skipminus>
                <display>FullScreen</display>
                <start>applauncher</start>
                <record>KEY_RECORD</record>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <mypictures>KEY_PHOTO</mypictures>
                <mytv>KEY_TV</mytv>
                <one>KEY_1</one>
                <two>KEY_2</two>
                <three>KEY_3</three>
                <four>KEY_4</four>
                <five>KEY_5</five>
                <six>KEY_6</six>
                <seven>KEY_7</seven>
                <eight>KEY_8</eight>
                <nine>KEY_9</nine>
                <zero>KEY_0</zero>
                <star>Star</star>
                <hash>Hash</hash>
                <playlist>KEY_BOOKMARKS</playlist>
                <teletext>Thumbnail</teletext>
                <title>TaskSwitcher</title>             
        </remote>

        <remote device="MCE_via_iMON">
                <play>KEY_PLAY</play>
                <pause>KEY_PAUSE</pause>
                <stop>KEY_STOP</stop>
                <forward>KEY_FASTFORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_OK</select>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <back>KEY_BACKSPACE</back>
                <menu>PreviousMenu</menu>
                <title>Guide</title>
                <info>KEY_INFO</info>
                <skipplus>KEY_SKIP</skipplus>
                <skipminus>KEY_REPLAY</skipminus>
                <display>Teletext</display>
                <start>WindowsMCE</start>
                <record>KEY_RECORD</record>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <mypictures>KEY_PHOTO</mypictures>
                <mytv>KEY_TV</mytv>
                <one>KEY_ONE</one>
                <two>KEY_TWO</two>
                <three>KEY_THREE</three>
                <four>KEY_FOUR</four>
                <five>KEY_FIVE</five>
                <six>KEY_SIX</six>
                <seven>KEY_SEVEN</seven>
                <eight>KEY_EIGHT</eight>
                <nine>KEY_NINE</nine>
                <zero>KEY_ZERO</zero>
                <star>Star</star>
                <hash>Hash</hash>
                <clear>KEY_DELETE</clear>
                <enter>KEY_ENTER</enter>
                <red>Red</red>
                <green>Green</green>
                <yellow>Yellow</yellow>
                <blue>Blue</blue>
        </remote>

        <remote device="TwinHanRemote">
                <display>fullscreen</display>
                <power>power</power>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <record>rec</record>
                <zero>0</zero>
                <myvideo>favorite</myvideo>
                <volumeminus>rewind</volumeminus>
                <volumeplus>forward</volumeplus>
                <up>ch+</up>
                <left>vol-</left>
                <select>play</select>
                <right>vol+</right>
                <down>ch-</down>
                <menu>recall</menu>
                <stop>stop</stop>
                <pause>pause</pause>
                <mute>mute</mute>
                <info>epg</info>
                <recordedtv>recordlist</recordedtv>
                <title>teletext</title>
        </remote>

        <remote device="linux-input-layer">
                <altname>cx23885_remote</altname>
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_OK</select>
                <select>KEY_ENTER</select>
                <enter>KEY_ENTER</enter>
                <clear>KEY_DELETE</clear>
                <start>KEY_SELECT</start>
                <start>KEY_PROG1</start>
                <start>KEY_HOME</start>
                <back>KEY_ESC</back>
                <back>KEY_EXIT</back>
                <back>KEY_BACK</back>
                <back>KEY_CLOSE</back>
                <record>KEY_RECORD</record>
                <play>KEY_PLAY</play>
                <play>KEY_PLAYPAUSE</play>
                <pause>KEY_PAUSE</pause>
                <stop>KEY_STOP</stop>
                <stop>KEY_STOPCD</stop>
                <forward>KEY_FASTFORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <skipplus>KEY_NEXTSONG</skipplus>
                <skipplus>KEY_NEXT</skipplus>
                <skipminus>KEY_PREVIOUSSONG</skipminus>
                <skipminus>KEY_PREVIOUS</skipminus>
                <title>KEY_TITLE</title>
                <title>KEY_EPG</title>
                <subtitle>KEY_SUBTITLE</subtitle>
                <language>KEY_LANGUAGE</language>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <mypictures>KEY_MHP</mypictures>
                <mypictures>KEY_CAMERA</mypictures>
                <mytv>KEY_TV</mytv>
                <liveradio>KEY_RADIO</liveradio>
                <livetv>KEY_TUNER</livetv>
                <one>KEY_1</one>
                <two>KEY_2</two>
                <three>KEY_3</three>
                <four>KEY_4</four>
                <five>KEY_5</five>
                <six>KEY_6</six>
                <seven>KEY_7</seven>
                <eight>KEY_8</eight>
                <nine>KEY_9</nine>
                <zero>KEY_0</zero>
                <one>KEY_NUMERIC_1</one>
                <two>KEY_NUMERIC_2</two>
                <three>KEY_NUMERIC_3</three>
                <four>KEY_NUMERIC_4</four>
                <five>KEY_NUMERIC_5</five>
                <six>KEY_NUMERIC_6</six>
                <seven>KEY_NUMERIC_7</seven>
                <eight>KEY_NUMERIC_8</eight>
                <nine>KEY_NUMERIC_9</nine>
                <zero>KEY_NUMERIC_0</zero>
                <star>KEY_NUMERIC_STAR</star>
                <hash>KEY_NUMERIC_POUND</hash>
                <red>KEY_RED</red>
                <green>KEY_GREEN</green>
                <yellow>KEY_YELLOW</yellow>
                <blue>KEY_BLUE</blue>
                <menu>KEY_DVD</menu>
                <menu>KEY_MENU</menu>
                <info>KEY_INFO</info>
                <info>KEY_PROPS</info>
                <display>KEY_ANGLE</display>
                <display>KEY_ZOOM</display>
                <recordedtv>KEY_PVR</recordedtv>
                <teletext>KEY_TEXT</teletext>
                <clear>KEY_DELETE</clear>
        </remote>

        <remote device="mediacenter">
                <pause>pause</pause>
                <stop>stop</stop>
                <forward>fwd</forward>
                <reverse>rew</reverse>
                <left>left</left>
                <right>right</right>
                <up>up</up>
                <down>down</down>
                <select>ok</select>
                <pageplus>ch+</pageplus>
                <pageminus>ch-</pageminus>
                <back>back</back>
                <menu>clear</menu>
                <title>play</title>
                <info>info</info>
                <skipplus>next</skipplus>
                <skipminus>prev</skipminus>
                <display>teletext</display>
                <start>ehome</start>
                <record>rec</record>
                <volumeplus>vol+</volumeplus>
                <volumeminus>vol-</volumeminus>
                <mute>mute</mute>
                <power>power</power>
                <myvideo>video</myvideo>
                <mymusic>music</mymusic>
                <mypictures>pictures</mypictures>
                <mytv>tv</mytv>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>0</zero>
                <mytv>red</mytv>
                <mymusic>green</mymusic>
                <mypictures>yellow</mypictures>
                <myvideo>blue</myvideo>
        </remote>

        <remote device="devinput">
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_OK</select>
                <select>KEY_ENTER</select>
                <select>KEY_KPENTER</select>
                <select>KEY_SELECT</select>
                <clear>KEY_DELETE</clear>
                <clear>KEY_ESC</clear>
                <start>KEY_MEDIA</start>
                <start>KEY_HOME</start>
                <back>KEY_EXIT</back>
                <back>KEY_BACK</back>
                <back>KEY_BACKSPACE</back>
                <back>KEY_ESC</back>
                <back>KEY_E</back>
                <record>KEY_RECORD</record>
                <play>KEY_PLAY</play>
                <play>KEY_PLAYPAUSE</play>
                <pause>KEY_PAUSE</pause>
                <stop>KEY_STOP</stop>
                <stop>KEY_STOPCD</stop>
                <forward>KEY_FASTFORWARD</forward>
                <forward>KEY_FFORWARD</forward>
                <forward>KEY_FORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeplus>KEY_VOLUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <volumeminus>KEY_VOLDOWN</volumeminus>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageplus>KEY_CHUP</pageplus>
                <pageplus>KEY_PAGEUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <pageminus>KEY_CHDOWN</pageminus>
                <pageminus>KEY_PAGEDOWN</pageminus>
                <skipplus>KEY_NEXT</skipplus>
                <skipplus>KEY_NEXTSONG</skipplus>
                <skipminus>KEY_PREVIOUS</skipminus>
                <skipminus>KEY_PREVIOUSSONG</skipminus>
                <title>KEY_EPG</title>
                <title>KEY_TV2</title>
                <title>KEY_CONTEXT_MENU</title>
                <subtitle>KEY_SUBTITLE</subtitle>
                <subtitle>KEY_TITLE</subtitle>
                <language>KEY_LANGUAGE</language>
                <info>KEY_INFO</info>
                <info>KEY_PROPS</info>
                <display>KEY_ZOOM</display>
                <display>KEY_ANGLE</display>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <power>KEY_SLEEP</power>
                <power>KEY_WAKEUP</power>
                <eject>KEY_EJECTCD</eject>
                <eject>KEY_EJECTCLOSECD</eject>
                <menu>KEY_DVD</menu>
                <menu>KEY_MENU</menu>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <mymusic>KEY_MP3</mymusic>
                <mypictures>KEY_CAMERA</mypictures>
                <mypictures>KEY_IMAGES</mypictures>
                <livetv>KEY_TUNER</livetv>
                <mytv>KEY_TV</mytv>
                <mytv>KEY_PVR</mytv>
                <teletext>KEY_TEXT</teletext>
                <one>KEY_1</one>
                <one>KEY_NUMERIC_1</one>
                <two>KEY_2</two>
                <two>KEY_NUMERIC_2</two>
                <three>KEY_3</three>
                <three>KEY_NUMERIC_3</three>
                <four>KEY_4</four>
                <four>KEY_NUMERIC_4</four>
                <five>KEY_5</five>
                <five>KEY_NUMERIC_5</five>
                <six>KEY_6</six>
                <six>KEY_NUMERIC_6</six>
                <seven>KEY_7</seven>
                <seven>KEY_NUMERIC_7</seven>
                <eight>KEY_8</eight>
                <eight>KEY_NUMERIC_8</eight>
                <nine>KEY_9</nine>
                <nine>KEY_NUMERIC_9</nine>
                <zero>KEY_0</zero>
                <zero>KEY_NUMERIC_0</zero>
                <star>KEY_STAR</star>
                <star>KEY_KPASTERISK</star>
                <star>KEY_NUMERIC_STAR</star>
                <hash>KEY_POUND</hash>
                <hash>KEY_NUMERIC_POUND</hash>
                <red>KEY_RED</red>
                <green>KEY_GREEN</green>
                <yellow>KEY_YELLOW</yellow>
                <blue>KEY_BLUE</blue>
                <recordedtv>KEY_PVR</recordedtv> 
                <liveradio>KEY_RADIO</liveradio> 
        </remote>
</lircmap>