Fichier de configuration pour télécommande infrarouge sous raspbian

Fichier keyboard.xml Ă  placer dans ~/.xbmc/userdata/keymaps/ :

<keymap>
  <global>
   <keyboard>
    <!--"pc remote" brand - chinese generic remote found on ebay-->
    <!-- top row 'email' and 'www' buttons are mute-->
    <f4 mod="alt">RunScript(/lcd_hook.py)</f4>               <!-- X Button-->
    <!--color buttons on top-->
    <f1 mod="ctrl,alt">XBMC.ActivateWindow(MyMusic)</f1>              <!-- Green -->
    <f2 mod="ctrl,alt">XBMC.ActivateWindow(MyVideos)</f2>              <!-- Orange -->
    <f3 mod="ctrl,alt">XBMC.ActivateWindow(MyPictures)</f3>            <!-- Blue -->
    <f4 mod="ctrl,alt">XBMC.ActivateWindow(Home)</f4>             <!-- Yellow -->
    <!--media buttons are correctly mapped (next track, previous track, play, pause, etc.-->
    <return mod="alt">ContextMenu</return>            <!-- Fullscreen-->
    <!--<f13>Mute</f13>            <!--Mute volume-->
    <!--<f14>VolumeDown</f14>              <!-- Decrease volume-->
    <!--navigation pad-->
    <!--<tab>               CustomAction09    (Key Pressed, tab)                </tab>             <!-- Tabulation-->
    <!--<0>                 CustomAction09    (Key Pressed, 0)                  </0>               <!-- Windows logo-->
    <!--<backspace>         CustomAction09    (Key Pressed, backspace)          </backspace>       <!-- Backspace-->
    <o mod="ctrl">Close</o>               <!-- Folder button-->
    <!--<tab mod="alt">     CustomAction09    (Key Pressed, switchwindow)       </tab>             <!-- Window switch button-->
    <e>Subtitledelay</e>           <!-- My PC button-->
    <d>Audiodelay</d>             <!-- Desktop button-->
   </keyboard>
  </global>
</keymap>