Can't customize Apple Remote in SVN 23525
#1
I seem to have difficulty customizing the buttons of the Apple remote used to control a XBMC SVN 23525 (not sure when it started) on Mac (didn't test on AppleTV).

This CS: http://trac.xbmc.org/changeset/23524
mentions "AppleRemote is currently recognized as a joystick and thus needs Joystick processing in CApplication"
Maybe the above also has the side-effect that custom keymap files using <joystick name="Apple Remote"> do not work..?
Anybody else can confirm this problem?
If so, I'll enter this in trac.

Things I tried:

- My custom keymap is in /Users/gb/Library/Application Support/XBMC/userdata/keymaps/joystick.AppleRemote.own.xml

It contains the following:
Code:
<keymap>
  <FullscreenVideo>
    <joystick name="Apple Remote">
      <button id="1">BigStepForward</button>                                  <!--- Up --->
      <button id="2">BigStepBack</button>                                <!--- Down --->
      <button id="3">StepBack</button>                                  <!--- Left --->
      <button id="4">StepForward</button>                               <!--- Right --->
      <button id="5">Pause</button>                                     <!--- Play --->
      <button id="6">OSD</button>                                       <!--- Menu --->
      <button id="9">StepBack</button>                               <!--- Hold Left --->
      <button id="10">StepForward</button>                           <!--- Hold Right --->
      <button id="11">OSD</button>                                     <!--- Hold Menu --->
      <button id="12">OSD</button>                                     <!--- Hold Play --->
    </joystick>
  </FullscreenVideo>
  <VideoMenu>
    <joystick name="AppleRemote">
      <button id="5">Select</button>
      <button id="6">OSD</button>
      <button id="7">OSD</button>
      <button id="8">OSD</button>
      <button id="9">OSD</button>
      <button id="10">OSD</button>
      <button id="11">OSD</button>
      <button id="12">OSD</button>
    </joystick>
  </VideoMenu>
</keymap>
When a video is playing, hitting Play/Pause should pause the video, but it brings up the OSD. Hitting Up or Down increase or decreases the volume instead of BigStepping...

Seen in my xbmc.log:

16:09:20 T:2695886080 M:349085696 INFO: Loading special://profile/keymaps/joystick.AppleRemote.own.xml

No errors around that.
Reply
#2
OK, that was dumb...
My keymap file contained "Apple Remote" instead of "AppleRemote".
Not sure where that space came from, but removing it fixed my problem!
Reply

Logout Mark Read Team Forum Stats Members Help
Can't customize Apple Remote in SVN 235250