Jump to content
Flirc Forums

[XBMC] Mapping a Shutdown key ?


castalla
 Share

Recommended Posts

Hi again!

It's some time since I needed to reconfigure my flirc ... and I'm a bit rusty.

I want to program a remote key to Shutdown XBMC - I tried mapping to the xbmc keyboard 'shutdown' key (the power off button).. When I try this with Xbian (raspberry pi) I just get an onscreen popup saying 'not available'.

Can anyone help on how to get 'Shutdown' with one key press?

For example, say I want f4 assigned to Shutdown .... ?

Thanks

Edit:

I created a keyboard.xml file containing


<keymap>

<global>

	 <keyboard>

		 <f4>XBMC.ShutDown()</f4>		

	 </keyboard>

</global>

</keymap>

I put this in /system/keymaps/ within xbmc folder

Assigned f4 to a remote key.

This has no effect when in xbmc.

Stumped.

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.

 Share

×
×
  • Create New...