[Appletv2] New Keymap for pictures
#1
Does anyone know where I can find a keymap for pictures? I try to view my comics, but on the apple tv 2 remote, up zooms in, down zooms out, left and right turn the pages, but nothing allows mean to scroll. Any help would be appreciated.
Reply
#2
Just make it youself.

Code:
<keymap>
  <SlideShow>
    <joystick name="AppleRemote">
      <!-- Up            --> <button id="1"></button>
      <!-- Down          --> <button id="2"></button>
      <!-- Left          --> <button id="3"></button>
      <!-- Right         --> <button id="4"></button>
      <!-- Select        --> <button id="5"></button>
      <!-- Menu          --> <button id="6"></button>
      <!-- Select (long) --> <button id="7"></button>
      <!-- Menu (long)   --> <button id="8"></button>
      <!-- Right (long)  --> <button id="10"></button>
      <!-- Left (long)   --> <button id="11"></button>
      <!-- Play          --> <button id="12"></button>
      <!-- Play (long)   --> <button id="13"></button>
    </joystick>
  </SlideShow>
</keymap>
See the Wiki for the possible actions: http://wiki.xbmc.org/index.php?title=Keymap.xml#Actions

Right/Left long don't (yet) work on the ATV2. Just play until its right for you.

Add the code to: /User/Library/Preferences/XBMC/userdata/keymaps/joystick.AppleRemote.xml
Or create the file if it doesn't exist yet.
XBMC on Mac and 2 Apple TV 2's – Alaska Revisited – Drobo FS
Reply
#3
Well it didn't work, probably due to my newbitity. I was trying to make the select button scroll down and the play button scroll up. At first I tried it with the button prefixes you had above, i.e.

<!-- Up --> <button id="1">ZoomIn</button>

That didn't work, so I tried it as such, which also didn't work

<<keymap>
<SlideShow>
<joystick name="AppleRemote">
<button id="1">ZoomIn</button>
<button id="2">ZoomOut</button>
<button id="3">PreviousPicture</button>
<button id="4">NextPicture</button>
<button id="5">ScrollDown</button>
<button id="6">PreviousMenu</button>
<button id="7"></button>
<button id="8"></button>
<button id="10"></button>
<button id="11"></button>
<button id="12">ScrollUp</button>
<button id="13"></button>
</joystick>
</SlideShow>
</keymap>

When I tried to view the comic, up still zoomed in, down zoomed out and the left right turned the pages but that was it, basically still the normal settings.

Any suggestions?
Reply
#4
I tried it again with a couple different actions and still no change. Should I be uploading the code to a different directory?
Reply

Logout Mark Read Team Forum Stats Members Help
[Appletv2] New Keymap for pictures0