xboxscene.org forums

Author Topic: Need Some Help With Keymap.xml  (Read 153 times)

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
Need Some Help With Keymap.xml
« on: April 24, 2006, 08:28:00 PM »

obc42 is used for the DISPLAY button on the standard remote.

Either remove the mapping of this button from keymap.xml, or use a different obc code.

And to shutdown immediately, just use the shutdown command.
Logged

GodOfWarAres

  • Archived User
  • Jr. Member
  • *
  • Posts: 70
Need Some Help With Keymap.xml
« Reply #1 on: April 24, 2006, 08:30:00 PM »

you can use <obc#>XBMC.ShutDown()</obc#> to just powerdown the xbox, without the menu.


You should check to see, that the "obc42" button is not being used for something else as well.
Logged

autoxerFSP21

  • Archived User
  • Jr. Member
  • *
  • Posts: 63
Need Some Help With Keymap.xml
« Reply #2 on: April 24, 2006, 09:35:00 PM »

Ok, I definatley owe a big thanks to jmarshall and GodOfWarAres. Thanks a lot!

Is there a list of commands available that doesn't involve me digging through the keymap.xml file? I was trying to get the console to eject the disc with the press of a button as well using the following command:
<obc64>XBMC.Eject/Load()</obc64>

It doesn't work though. Any additional help would be appreciated.

Tickethead:
You first need to start by mapping the back button (using your original remote). Once you program that in, set your stuff to look like this in the harmony software:
IPB Image

If you run into problems with mapping the back button let me know and I'll try to walk you through it.

EDIT: I forgot to mention that my setup for Y,X,A,B is only good for global settings. They change funtions on the remote throughout the keymap.xml file. For example, in full screen video you would normally press Y to change the aspect ratio, but instead of using 0 on the remote they used the enter or select button. You could go in and try to find all those if you want. I may work on this and make some sort of general use keymap.xml for harmony 360 users.
Logged

autoxerFSP21

  • Archived User
  • Jr. Member
  • *
  • Posts: 63
Need Some Help With Keymap.xml
« Reply #3 on: April 24, 2006, 10:59:00 PM »

QUOTE
 <OSDVideoSettings>
    <gamepad>
      <X></X>
      <Y>AspectRatio</Y>
      <B>Stop</B>
      <back>Close</back>
      <start>Close</start>
    </gamepad>

    <remote>
      <back>Stop</back>
      <zero>AspectRatio</zero>
      <menu>Close</menu>
      <start>Close</start>
    </remote>


My WIP can be seen here(right click and save as): keymap-360.xml Hopefully someone who actually knows a thing or two about coding can help me out.
Logged

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
Need Some Help With Keymap.xml
« Reply #4 on: April 24, 2006, 11:32:00 PM »

There's nothing wrong with the piece of code quoted above.

Open the .xml in IE or firefox and it'll tell you what the problem is, including a line number.

And info on built in functions is in the online manual, in my sig.
Logged

GodOfWarAres

  • Archived User
  • Jr. Member
  • *
  • Posts: 70
Need Some Help With Keymap.xml
« Reply #5 on: April 25, 2006, 07:55:00 AM »

go to line 564... and add "/" to the end tag <zero>.

it should look like this </zero>
Logged

autoxerFSP21

  • Archived User
  • Jr. Member
  • *
  • Posts: 63
Need Some Help With Keymap.xml
« Reply #6 on: April 26, 2006, 03:35:00 PM »

I've just added a command for sleep functions as well. Harmony360+XBMC= bliss smile.gif
Logged

Tickethead

  • Archived User
  • Jr. Member
  • *
  • Posts: 76
Need Some Help With Keymap.xml
« Reply #7 on: April 26, 2006, 10:05:00 PM »

Thanks for your efforts!  I will give this a try tomorrow morning and report any issues that may come up...

If this works I will be forever in your debt!   biggrin.gif

Scott
Logged

GodOfWarAres

  • Archived User
  • Jr. Member
  • *
  • Posts: 70
Need Some Help With Keymap.xml
« Reply #8 on: April 27, 2006, 07:54:00 AM »

i wish i had a Harmony remote sad.gif
Logged

the_iLLmatic_one

  • Archived User
  • Jr. Member
  • *
  • Posts: 75
Need Some Help With Keymap.xml
« Reply #9 on: June 15, 2006, 09:20:00 AM »

so can the harmony 360 remote be used to power on and off the original xbox? or do i need a ir mod?
Logged