Remote mapping for FF?
#1
Hello,

I'm using Eden and an ATV2. I would like to remap the next and previous buttons to FF and RW, but I'm just not sure how to do that. I've think I need to add a keyboard.xml file to /var/mobile/Library/Preferences/XBMC/userdata, but I don't know what to put into the file. I've looked at ttp://wiki.xbmc.org/index.php?title=HOW-TO:Modify_keyboard.xml but i'm still confused.

If anyone could help, I'd greatly appreciate it.

Thanks,

Allan
Reply
#2
Try here: http://wiki.xbmc.org/index.php?title=Joy...l_for_ATV2

In this examples you could change (e.g. if you wanted up button to be FF and down to be RW):

Code:
<FullscreenVideo>
    <joystick name="AppleRemote">
      <button id="1">BigStepForward</button>
      <button id="2">BigStepBack</button>
      <button id="3">StepBack</button>
      <button id="4">StepForward</button>
      <button id="5">OSD</button>
      <button id="6">Stop</button>
      <button id="7">AudioNextLanguage</button>
      <button id="8">SmallStepBack</button>
      <button id="9">Rewind</button>
      <button id="10">FastForward</button>
      <button id="11">FastForward</button>
      <button id="12">Pause</button>
      <button id="13"></button>
    </joystick>
  </FullscreenVideo>

To

Code:
<FullscreenVideo>
    <joystick name="AppleRemote">
      <button id="1">FastForward</button>
      <button id="2">Rewind</button>
      <button id="3">StepBack</button>
      <button id="4">StepForward</button>
      <button id="5">OSD</button>
      <button id="6">Stop</button>
      <button id="7">AudioNextLanguage</button>
      <button id="8">SmallStepBack</button>
      <button id="9">Rewind</button>
      <button id="10">FastForward</button>
      <button id="11">FastForward</button>
      <button id="12">Pause</button>
      <button id="13"></button>
    </joystick>
  </FullscreenVideo>

If you wanted to do it for left and right buttons then use the example above but put FastForward and Rewind in button ID 2 and 3.
Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
Reply
#3
(2012-04-07, 10:18)deanmv Wrote: Try here: http://wiki.xbmc.org/index.php?title=Joy...l_for_ATV2

In this examples you could change (e.g. if you wanted up button to be FF and down to be RW): ...

If you wanted to do it for left and right buttons then use the example above but put FastForward and Rewind in button ID 2 and 3.

Thanks for putting me on the right track. This turned out to be the final solution. I put this into a file in

/var/mobile/Library/Preferences/XBMC/userdata/keymaps/Joystick.AppleRemote.xml
chown mobile

Code:
<keymap>
  <FullscreenVideo>
    <joystick name="AppleRemote">
      <button id="1">StepForward</button>
      <button id="2">StepBack</button>
      <button id="3">Rewind</button>
      <button id="4">FastForward</button>
      <button id="5">Pause</button>
      <button id="6">Stop</button>
      <button id="7">OSD</button>
      <button id="8">Fullscreen</button>
      <button id="9">Rewind</button>
      <button id="10">FastForward</button>
      <!-- pageup     -->      <button id="13">BigStepForward</button>
      <!-- pagedown   -->      <button id="14">BigStepBack</button>
      <!-- SwipeLeft  -->      <button id="80">StepBack</button>
      <!-- SwipeRight -->      <button id="81">StepForward</button>
      <!-- SwipeUp    -->      <button id="82">BigStepForward</button>
      <!-- SwipeDown  -->      <button id="83">BigStepBack</button>
      <!-- FlickLeft  -->      <button id="85">Rewind</button>
      <!-- FlickRight -->      <button id="86">FastForward</button>
      <!-- FlickUp    -->      <button id="87">BigStepForward</button>
      <!-- FlickDown  -->      <button id="88">BigStepBack</button>
    </joystick>
  </FullscreenVideo>
</keymap>
Reply

Logout Mark Read Team Forum Stats Members Help
Remote mapping for FF?0