PDA

View Full Version : Lircmap shutdown menu?


hikaricore
2009-05-23, 01:16
I've searched and searched for a way to bind the shutdown menu to a key on my remote and have found very little.
Everything I have found mentions XBMC.ShutDown() which seems to do nothing when bound to a key.

To clarify I'm looking to bring up the same menu as when the S key is pressed.

Thanks for any help. ^_^

harryzimm
2009-05-23, 01:19
I have it mapped to my zero button on my remote in keymap.xml

<zero>XBMC.ActivateWindow(ShutDownMenu)</zero>


cheers

hikaricore
2009-05-23, 02:09
~

hikaricore
2009-05-23, 07:57
Actually that doesn't work. >.>
Anyone else got a suggestion?

hikaricore
2009-05-24, 10:04
bump. ^_^

FishOil
2009-05-24, 22:45
Actually that doesn't work. >.>
Anyone else got a suggestion?

I have it mapped to the power button

Keymap.xml

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

Lircmap.xml

<power>OnOff</power>

The string "OnOff" above is the name of my power button in /etc/lirc/lirc.conf you will need to change it to match whatever yours says.

harryzimm
2009-05-24, 22:57
I have it mapped to the power button

Keymap.xml

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

Lircmap.xml

<power>OnOff</power>

The string "OnOff" above is the name of my power button in /etc/lirc/lirc.conf you will need to change it to match whatever yours says.

That will shutdown xbmc, not bring up the shutdown menu. My method does work perfectly using the original xbox remote in linux.

cheers.

CrashX
2009-05-25, 03:41
I think the issue is that you can't map numbers .. try mapping anything else besides number ..

FishOil
2009-05-25, 05:07
That will shutdown xbmc, not bring up the shutdown menu. My method does work perfectly using the original xbox remote in linux.

cheers.

I believe the correct string is ActivateWindow(shutdownmenu) ---not--- XBMC.ActivateWindow(ShutDownMenu)

Edit.

I tried them both and they both work. No difference in either one.

hikaricore
2009-05-25, 05:17
That will shutdown xbmc, not bring up the shutdown menu. My method does work perfectly using the original xbox remote in linux.

cheers.

Actually yours does work, I had a serious problem in my keymap.xml file that was mucking up everything after a certain point. Many thanks again. ^_^

I think the issue is that you can't map numbers .. try mapping anything else besides number ..

Numbers map just fine afaik and I wasn't mapping them anyway.