Jump to content
Flirc Forums

using <blue> button with XBMC and FLIRC


Juggler

Recommended Posts

If I understand correcltly, FLIRC identifies itself as a keyboard to a device when plugged in–this is part of its genius. I'm running Raspbmc and have a Harmony Hub; I've added the FLIRC profile and am able to navigate/control playback perfectly.

 

I'm now looking to be able to run a specific add-on script in XBMC from a single button press on my remote. Looking through the Harmony buttons, it looks like my coloured (red, yellow, green, blue) buttons are currently "unmapped".

 

Do I need to add a keyboard.xml or remote.xml to my userdata/keymaps/ folder? I would assume it would be keyboard.xml as the FLIRC is technically a kebyoard...

 

The contents of my .xml would be:

<keymap>
  <global>
    <remote>
      <blue>RunScript(script.xsqueeze)</blue>
    </remote>  
  </global>
</keymap>
 

Many thanks,

   J.

Link to comment
Share on other sites

You basically answered your own question already. Flirc works as a keyboard so the solution should be obvious. You need to map your remote key to some keyboard key using Flirc software if it isn't mapped already and then map it to script using keyboard.xml.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...