Jump to content
Flirc Forums

Sleep/Wake with a single button in openelec/XBMC?


Recommended Posts

How does one go about making just one button sleep and way the unit in openelec?


I have the wake button programmed to the power button on the remote, but I am now unable to assign it to sleep the box.  I really don't like the idea of having to have a separate wake and sleep key.


The Flirc GUI won't allow me to assign two keys to the same button press.  Is the wake signal passed into the OS as a button press?  If so I could do a custom keymap for it, but I have no idea at this point if it is or what the signal sent is.  I assume that I have to do this in openelec somehow?  I see there's a thread that covers this exactly here on the forum, but it's windows only.  The other thread is for Gnome, so it also doesn't apply (as far as I can tell).


Thanks for any help.



Link to comment
Share on other sites

Seems to me pretty straightforward (knowing nothing about the architecture of the flirc of course) to have a feature to set a flag on a particular button to do sleep detection rather than require a separate button/feature that is divorced from the rest of the functionality.


Wish this was open source...  I would certainly have a go at it...

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.

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...