My custom keymap.xml with babylon
#1
Hey everyone, just upgraded to babylon and I've got a problem. I've got a custom keymap.xml file which I want to use, I've uploaded it to

users/frontrow/library/application support/xbmc/userdata

and nothing has changed. this is my keymap:

Code:
<keymap>
    <global>
        <remote>                 <!-- Apple Remote configuration -->
          <menu>ParentDir</menu>                <!-- Menu, short press -->
          <back>ContextMenu</back>              <!-- Menu, long press -->
        </remote>
    </global>

    <FullscreenVideo>
        <remote>                 <!-- Apple Remote configuration -->
            <left>Rewind</left>             <!-- Left -->
            <right>FastForward</right>      <!-- Right -->
            <up>BigStepForward</up>         <!-- Up -->
            <down>BigStepBack</down>        <!-- Down -->
            <back>Stop</back>               <!-- Menu, long press -->
            <menu>OSD</menu>                <!-- Menu, short press -->
            <select>Play</select>           <!-- Play/Pause, short press  -->
        </remote>
    </FullscreenVideo>
</keymap>

Anyone know what I am doing wrong?
thanks!
Reply
#2
First off, check the debug log to see whether it's being loaded.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
if its not what do i do?
Reply
#4
usurp Wrote:if its not what do i do?

would be nice to post it somewhere, so we can have a look, too (read me)

Besides that, what do you want to achieve with your custom Keymap.xml?
From the comments inside it looks like you want to remap the AppleRemote buttons, but the "<remote>" tag isn't the right one.
Try
Code:
<joystick name="AppleRemote">
      <!-- plus       --> <button id="1">Up</button>
      <!-- minus      --> <button id="2">Down</button>
[...]

hth,
mdd

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
oh ok, well my keymap USED to work in one of the previous versions of xbmc, i guess they changed and thats why my keymap wasnt working. do u know where i can find the new one? i found this which i am going to try using/editing now:

Code:
<keymap>
  <global>
    <joystick name="AppleRemote">
      <!-- plus       --> <button id="1">Up</button>
      <!-- minus      --> <button id="2">Down</button>
      <!-- left       --> <button id="3">Left</button>
      <!-- right      --> <button id="4">Right</button>
      <!-- play/pause --> <button id="5">Select</button>
      <!-- menu       --> <button id="6">PreviousMenu</button>

      <!-- hold play  --> <button id="7">Fullscreen</button>
      <!-- hold menu  --> <button id="8">ContextMenu</button>

      <!-- old buttons (ATV <2.2) -->
      <!-- hold left  --> <button id="9">BigStepBack</button>
      <!-- hold right --> <button id="10">BigStepForward</button>
      
      <!-- Learned remote buttons (ATV >2.3) -->
      <!-- Play       --> <button id="70">Play</button>
      <!-- Pause      --> <button id="71">Pause</button>
      <!-- Stop       --> <button id="72">Stop</button>
      <!-- Previous   --> <button id="73">SkipPrevious</button>
      <!-- Next       --> <button id="74">SkipNext</button>
      <!-- Rewind     --> <button id="75">StepBack</button>
      <!-- Forward    --> <button id="76">StepForward</button>
      <!-- Return     --> <button id="77">ParentDir</button>
      <!-- Enter      --> <button id="78"></button>
    </joystick>
  </global>
</keymap>
Reply
#6
usurp Wrote:oh ok, well my keymap USED to work in one of the previous versions of xbmc, i guess they changed and thats why my keymap wasnt working.

naah, they did not. You were probably just using the excellent defaults Tongue

usurp Wrote:do u know where i can find the new one? i found this which i am going to try using/editing now:
yep, that's fine.

cheers,
mdd

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
ok it didn't work. i checked the debug log and it says:

20:38:39 T:2684407808 M: 71426048 INFO: load keymapping
20:38:39 T:2684407808 M: 71426048 INFO: Loading special://xbmc/system/Keymap.xml
20:38:40 T:2684407808 M: 73486336 INFO: Loading special://profile/Keymap.xml

That seems weird for me since i thought the keymap location is users/frontrow/library/application support/xbmc/userdate
Reply
#8
usurp Wrote:ok it didn't work.
uuhm, exactly what?

usurp Wrote:i checked the debug log and it says:

20:38:39 T:2684407808 M: 71426048 INFO: load keymapping
20:38:39 T:2684407808 M: 71426048 INFO: Loading special://xbmc/system/Keymap.xml
20:38:40 T:2684407808 M: 73486336 INFO: Loading special://profile/Keymap.xml

That seems weird for me since i thought the keymap location is users/frontrow/library/application support/xbmc/userdate

Looks good to me. special://profile/ is your userdata folder (remove your Keymap.xml and the second line will vanish, too).

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
My custom keymap.xml with babylon0