Home » HTPC » Configure Chinavision Remote for Kodi and Harmony Remote

Configure Chinavision Remote for Kodi and Harmony Remote

Few days back, I published a post describing how to configure the Chinavision MCE USB remote to work with XBMC and Logitech Harmony Remote. I did further research and reading after this and ended up improving my setup.

Since XBMC Dharma, the “keymap.xml” file no longer exists. It now called “keyboard.xml”. The location, however, has not changed. This according to the XBMC Wiki. Therefore, in this post “keymap.xml” has been renamed to “keyboard.xml”.

The Remote Control Reviews section of XBMC Wiki has details on the Chinavision CVSB-983 model remote. it is referred to as “Unbranded MCE remote“. Work is continuously being done on this remote and details are provided to make almost all keys (except power button) to work on the Chinavision remote. I however, have not experimented with this yet and decided to follow this post as stated in my previous post.

There is a great little windows utility called KeyMapEdit that you can use to edit your keyboard.xml (or keymap.xml). It provides you with a nice interface and several of the XBMC functions are available from a drop down menu to be assigned to various keys. It helped me great to fine tune my keyboard.xml.

KeyMapEdit

Below is my new/modified keyboard.xml (previously keymap.xml):

<!--**************Modified 02/21/2012 for Eden**************-->
<keymap>
  <global>
    <keyboard>
      <!--Yellow/Exit-->
      <key id="389188">Close</key>
      <!--Play/Play-->
      <key id="61619">Play</key>
      <!--Stop/Stop-->
      <key id="61618">Stop</key>
      <!--Backspace/Prev-->
      <key id="61448">PreviousMenu</key>
      <!--Red-->
      <key id="389186">XBMC.CleanLibrary(video)</key>
      <!--Blue-->
      <key id="389187">XBMC.UpdateLibrary(video)</key>
    </keyboard>
  </global>
  <home>
    <keyboard>
      <!--SwitchWindow/Record-->
      <key id="323593">XBMC.ActivateWindow(shutdownmenu)</key>
      <!--ESC/Menu-->
      <key id="61467">XBMC.ActivateWindow(settings)</key>
      <!--FullScreen/Info-->
      <key id="323597">XBMC.ActivateWindow(systeminfo)</key>
      <!--Green/Guide-->
      <key id="389185">XBMC.ActivateWindow(favourites)</key>
    </keyboard>
  </home>
  <myvideolibrary>
    <keyboard>
      <!--ESC/Menu-->
      <key id="61467">ContextMenu</key>
      <!--PageUp/Channel Up-->
      <key id="61473">PageUp</key>
      <!--PageDown/Channel Down-->
      <key id="61474">PageDown</key>
      <!--Green/Guide-->
      <key id="389185">togglewatched</key>
    </keyboard>
  </myvideolibrary>
  <myvideofiles>
    <keyboard>
      <!--ESC/Menu-->
      <key id="61467">ContextMenu</key>
      <!--PageUp/Channel Up-->
      <key id="61473">PageUp</key>
      <!--PageDown/Channel Down-->
      <key id="61474">PageDown</key>
      <!--Green/Guide-->
      <key id="389185">togglewatched</key>
    </keyboard>
  </myvideofiles>
  <mymusiclibrary>
    <keyboard>
      <!--ESC/Menu-->
      <key id="61467">ContextMenu</key>
      <!--PageUp/ChapterUp-->
      <key id="61473">PageUp</key>
      <!--PageDown/ChapterDown-->
      <key id="61474">PageDown</key>
    </keyboard>
  </mymusiclibrary>
  <mymusicfiles>
    <keyboard>
      <!--ESC/Menu-->
      <key id="61467">ContextMenu</key>
      <!--PageUp/ChapterUp-->
      <key id="61473">PageUp</key>
      <!--PageDown/ChapterDown-->
      <key id="61474">PageDown</key>
    </keyboard>
  </mymusicfiles>
  <myfiles>
    <keyboard>
      <!--ESC/Menu-->
      <key id="61467">ContextMenu</key>
      <!--PageUp/ChannelUp-->
      <key id="61473">PageUp</key>
      <!--PageDown/ChannelDown-->
      <key id="61474">PageDown</key>
    </keyboard>
  </myfiles>
  <fullscreenvideo>
    <keyboard>
      <!--Green/Guide-->
      <key id="389185">CodecInfo</key>
      <!--ESC/Menu-->
      <key id="61467">XBMC.ActivateWindow(osdaudiosettings)</key>
      <!--FullScreen/Info-->
      <key id="323597">XBMC.ActivateWindow(movieinformation)</key>
      <!--Track Left/Previous Track-->
      <key id="61617">smallstepback</key>
      <!--Track Right/Next Track-->
      <key id="61616">stepforward</key>
      <!--PageUp/Channel Up-->
      <key id="61473">subtitledelayplus</key>
      <!--PageDown/Channel Down-->
      <key id="61474">subtitledelayminus</key>
      <!--SwitchWindow/Record-->
      <key id="5323593">showsubtitles</key>
    </keyboard>
  </fullscreenvideo>
  <visualisation>
    <keyboard>
      <!--Esc/Menu-->
      <key id="61467">ActivateWindow(musicosd)</key>
      <!--FullScreen/Info-->
      <key id="323597">XBMC.ActivateWindow(musicinformation)</key>
      <!--SwitchWindow/Record-->
      <key id="5323593">XBMC.RunScript(script.cu.lyrics)</key>
    </keyboard>
  </visualisation>
  <slideshow>
    <keyboard>
      <!--PageUp/Channel Up-->
      <key id="61473">ZoomIn</key>
      <!--PageDown/Channel Down-->
      <key id="61474">ZoomOut</key>
      <!--FullScreen/Info-->
      <key id="323597">XBMC.ActivateWindow(pictureinfo)</key>
    </keyboard>
  </slideshow>
</keymap>
We Are Hiring: Familiar with Media Streaming, HTPC, Home Server, Smart Home, and Home Automation topics? Write about it and earn money. No writing experience needed. APPLY HERE.

Get 20% OFF with IPVanish VPN:

♦   Hide your browsing and streaming activity: No logs and no tracking
♦   Access geo-restricted content from anywhere
♦   Encrypt and anonymize: Kodi, Plex, Downloads, Personal Info
♦   Windows, Mac, Linux, Android, iOS, Router, and more.
♦   Money back guarantee - Sign Up Now

About the author

Anand

Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs on htpcbeginner.com and smarthomebeginner.com.

Archives

Join the other 110,000 followers