Archive:Speedlink SL-6399-SBK

From Official Kodi Wiki
Jump to navigation Jump to search

This how-to aims to provide a sample keyboard.xml that takes advantage of all buttons provided by the remote Speedlink SL-6399-SBK.

The remote has been used in combination with the following receiver (lsusb output):

Bus 001 Device 004: ID 1241:e000 Belkin

Other receivers may provide different key strokes, YMMV.

The following keyboard.xml has been tested with xbmc frodo under ubuntu precise and raspbmc frodo.

<keymap>
   <global>
     <keyboard>
       <t mod="ctrl">Notification(Key, TV power, 3)</t>          <!-- TV power -->
       <f4 mod="alt">ActivateWindow(shutdownmenu)</f4>           <!-- PC Power -->
 
       <e mod="ctrl">Notification(Key, Red/Videos, 3)</e>        <!-- Red/Videos -->
       <m mod="ctrl">Notification(Key, Green/Music, 3)</m>       <!-- Green/Music -->
       <i mod="ctrl">Notification(Key, Yellow/Pictures, 3)</i>   <!-- Yellow/Pictures -->
       <t mod="ctrl,shift">Notification(Key, Blue/MyTV, 3)</t>   <!-- Blue/MyTV -->
 
       <numpadtimes>Notification(Key, Star, 3)</numpadtimes>     <!-- Star -->
       <three mod="shift">Notification(Key, Hash, 3)</three>     <!-- Hash (Not working) -->
 
       <leftwindows>ContextMenu</leftwindows>                    <!-- More -->
       <o mod="ctrl">Notification(Key, RTV, 3)</o>               <!-- RTV -->
       <g mod="ctrl">Notification(Key, Guide, 3)</g>             <!-- Guide -->
       <a mod="ctrl">Notification(Key, Radio, 3)</a>             <!-- Radio -->
       <m mod="ctrl,shift">Notification(Key, DVD, 3)</m>         <!-- DVD -->
 
       <return mod="alt">XBMC.ActivateWindow(Home)</return>      <!-- Start -->
 
       <r mod="ctrl">Notification(Key, Record, 3)</r>            <!-- Record -->
       <a mod="ctrl,shift">Notification(Key, Audio, 3)</a>       <!-- Audio -->
       <u mod="ctrl">Notification(Key, Title, 3)</u>             <!-- Title -->
       <f1>Notification(Key, Help, 3)</f1>                       <!-- Help -->
     </keyboard>
   </global>
 </keymap>

Just save the code above to your userdata/keymaps folder (.xbmc/userdata/keymaps/keyboard.xml, for instance). Please improve this configuration/share yours :).