Hi,
i am new here and my english isnt the best, so i try to explain what i wanna ask.
So, some of the buttons on the original xbox remote arent used by xbmc4xbox, is there any way to "program" one of these unused buttons as a instant shut-down button ?
And if thats possible, how can i do that ?
Program a Shutdown button on the Remote Control
Re: Program a Shutdown button on the Remote Control
Edit system/keymaps/remote.xml
In the global section, you could add something like this.
That would shut it off at the press of a button, but you'll be sorry.
Instead add something like this.
Which will bring up the shutdown menu.
That code uses the zero button. You could use whatever button you want.
In the global section, you could add something like this.
Code: Select all
<zero>XBMC.ShutDown()</zero>
Instead add something like this.
Code: Select all
<zero>XBMC.ReplaceWindow(ShutdownMenu)</zero>
That code uses the zero button. You could use whatever button you want.
Re: Program a Shutdown button on the Remote Control
Thank you for your reply.
I edited the remote.xml, then rebooted the xbox but it doesnt work.
I tried both codelines, but nothing happens.
I attached the remote.xml (as zip), maybe i did something wrong.
I ftp'ed the remote.xml to my pc, opened it with XML Notepad 2007, edited it, saved it, ftp'ed it back to the xbox, shutdown xbox, rebooted, then on home screen pressed 0 but nothing happened.
I edited the remote.xml, then rebooted the xbox but it doesnt work.
I tried both codelines, but nothing happens.
I attached the remote.xml (as zip), maybe i did something wrong.
I ftp'ed the remote.xml to my pc, opened it with XML Notepad 2007, edited it, saved it, ftp'ed it back to the xbox, shutdown xbox, rebooted, then on home screen pressed 0 but nothing happened.
- Attachments
-
- remote.zip
- (2.5 KiB) Downloaded 197 times
Re: Program a Shutdown button on the Remote Control
You added it to the <remote name="mce"> section instead of the regular <remote> section. So go to settings>system>general and enable "use mce/universal remote" and see how that works for you. If it doesn't, then turn that setting off and edit the file again in the right place.
Re: Program a Shutdown button on the Remote Control
Thank you very much, I fixed the xml and it works fine now.
BTW, does that "but you'll be sorry" stand for, "You could accidentaly turn of your xbox and you need to stand up and turn it on again", or do you mean that this turning off the xbox with the Zero Button could harm my xbox ?
BTW, does that "but you'll be sorry" stand for, "You could accidentaly turn of your xbox and you need to stand up and turn it on again", or do you mean that this turning off the xbox with the Zero Button could harm my xbox ?
Spongy wrote:That would shut it off at the press of a button, but you'll be sorry..Code: Select all
<zero>XBMC.ShutDown()</zero>