Keymap for Apple remote with big step (download link)
#1
Hey guys,

after trying to go through a looooong movie with just the 30s steps, I found a bigger step was needed for search. Also a few functions were missing with the apple remote.

So I put together a new keymap which makes the remote near to perfect for me:

changes are as follows:
up key: step forward 10 min.
down key: step backward 10 min.
press select: OSD
hold select: change language
hold menu: step 7 seconds back (in case my GF has to tell me something "important" while watching...)
all the other buttons remain the same.

Of course, the settings are only changed within playing a file. In the menu, the buttons are the same.

you can download the file here:

https://public.me.com/minius/de/

just put the file in: /Applications/XBMC.frappliance/XBMCData/XBMCHome/system/keymaps/
while overwriting the original one.

In case you don't like it that way, be sure to save the original file somewhere on your computer.

Also be sure when doing this, you are not in XBMC and restart lowtide afterwards (or: Killall AppleTV).

Greets.
Reply
#2
Nice work Smile I was particularly missing the quick step back from my old xbox xbmc install.
Reply
#3
Great share, that's exactly what was missing for me.
Reply
#4
Kaiserlein Wrote:just put the file in: /Applications/XBMC.frappliance/XBMCData/XBMCHome/system/keymaps/
while overwriting the original one.

My suggestion is - don't. Put it in this folder for default profile:
/private/var/mobile/Library/Preferences/XBMC/userdata/keymaps

And in this folder for specific profile :
/private/var/mobile/Library/Preferences/XBMC/userdata/profiles/ProfileName/keymaps

XBMC files could be overwritten by upgrade, your custom keymaps will stay. End result is the same, with one exception - you can have custom mapping for each profile.
Reply
#5
faugusztin Wrote:My suggestion is - don't. Put it in this folder for default profile:
/private/var/mobile/Library/Preferences/XBMC/userdata/keymaps

And in this folder for specific profile :
/private/var/mobile/Library/Preferences/XBMC/userdata/profiles/ProfileName/keymaps

XBMC files could be overwritten by upgrade, your custom keymaps will stay. End result is the same, with one exception - you can have custom mapping for each profile.

Made the change, good idea.
Reply
#6
Would replacing "OSD" with "Info" give me the info screen during playback?
Reply
#7
@T800: yes, that would do it. But be sure you change it in this part:

<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> (for you then: <button id="5">Info</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>

here is the link for all the actions possible:
http://wiki.xbmc.org/index.php?title=Keymap.xml#Actions
Have fun.
Reply
#8
Great job.
Thanks so much for posting this!
Reply
#9
Quote:up key: step forward 10 min.
down key: step backward 10 min.

Nice work, but doesn't it make more sense if you did"
right key> forward
left key> backward

That is more common on remotes.
Reply
#10
Thanks Kaiserlein
Reply
#11
Thanks! I didn't even think about setting up custom gestures from the iPhone to be specific keystrokes. I will have to toy around with my own custom keymap.
Reply
#12
Reverb Wrote:Nice work, but doesn't it make more sense if you did"
right key> forward
left key> backward

The right and left keys are already mapped to 30 second skip.
Reply
#13
Apple TV 1G has the ability to add more remote buttons from another remote so you don't have to rely on the press and hold method.

After adding the custom remote buttons in the apple tv settings screen xbmc translates those key presses to Button ID 70,71,72,73,74,75,76,77 & 78

I hope to be able to do the same for ATV2, as I just bought 5 of them, 1 for every room in my house.

I set up my joystick.AppleRemote.xml 2 years ago for ATV 1G (see code below)
I love the added functionality, in full video I have stop and 2 size step back/foward modes

in Video file mode I have a context menu, info, delete, back and root buttons

And in file manager mode (MY Files) I have highlight, copy, move and delete which work great
here's my code, I put it on my ATV2 but no joy yet.

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>
- <!--  Pageup
  -->
  <button id="73">SkipPrevious</button>
- <!--  Pagedown
  -->
  <button id="74">SkipNext</button>
- <!--  Rewind
  -->
  <button id="75">Rewind</button>
- <!--  Forward
  -->
  <button id="76">FastForward</button>
- <!--  Back
  -->
  <button id="77">ParentDir</button>
- <!--  Tools
  -->
  <button id="78">ContextMenu</button>
- <!--  few gestures from Apple's iPhone Remote (ATV > 2.3 ?)
  -->
- <!--  SwipeLeft  
  -->
  <button id="80">Left</button>
- <!--  SwipeRight  
  -->
  <button id="81">Right</button>
- <!--  SwipeUp  
  -->
  <button id="82">Up</button>
- <!--  SwipeDown  
  -->
  <button id="83">Down</button>
  </joystick>
  </global>
- <Home>
- <joystick name="AppleRemote">
  <button id="6">Fullscreen</button>
  </joystick>
  </Home>
- <MyMusicPlaylist>
- <joystick name="AppleRemote">
  <button id="6">Playlist</button>
  </joystick>
  </MyMusicPlaylist>
- <MyMusicPlaylistEditor>
- <joystick name="AppleRemote">
  <button id="5">ContextMenu</button>
- <!--  FIXME?
  -->
  <button id="6">Playlist</button>
  </joystick>
  </MyMusicPlaylistEditor>
- <MyMusicFiles>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  </joystick>
  </MyMusicFiles>
- <MyMusicLibrary>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  </joystick>
  </MyMusicLibrary>
- <FullscreenVideo>
- <joystick name="AppleRemote">
  <button id="1">BigStepForward</button>
  <button id="2">StepBack</button>
  <button id="3">SmallStepBack</button>
  <button id="4">StepForward</button>
  <button id="5">AspectRatio</button>
  <button id="6">OSD</button>
  <button id="78">Info</button>
  <button id="77">BigStepBack</button>
  </joystick>
  </FullscreenVideo>
- <FullscreenInfo>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  <button id="78">Close</button>
  </joystick>
  </FullscreenInfo>
- <PlayerControls>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </PlayerControls>
- <Visualisation>
- <joystick name="AppleRemote">
  <button id="1">VolumeUp</button>
  <button id="2">VolumeDown</button>
  <button id="3">SkipPrevious</button>
  <button id="4">SkipNext</button>
  <button id="5">XBMC.ActivateWindow(MusicOSD)</button>
  <button id="6">Fullscreen</button>
  </joystick>
  </Visualisation>
- <MusicOSD>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </MusicOSD>
- <VisualisationSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </VisualisationSettings>
- <VisualisationPresetList>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </VisualisationPresetList>
- <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">Info</button>
  <button id="6">Stop</button>
  </joystick>
  </SlideShow>
- <ScreenCalibration>
- <joystick name="AppleRemote">
  <button id="5">NextCalibration</button>
  </joystick>
  </ScreenCalibration>
- <SelectDialog>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">ContextMenu</button>
  </joystick>
  </SelectDialog>
- <VideoOSD>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </VideoOSD>
- <VideoMenu>
- <joystick name="AppleRemote">
  <button id="6">OSD</button>
  </joystick>
  </VideoMenu>
- <OSDVideoSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </OSDVideoSettings>
- <OSDAudioSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </OSDAudioSettings>
- <VideoBookmarks>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </VideoBookmarks>
- <MyVideoLibrary>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  <button id="77">ParentDir</button>
  </joystick>
  </MyVideoLibrary>
- <MyVideoFiles>
- <joystick name="AppleRemote">
  <button id="6">Info</button>
  <button id="77">ParentDir</button>
  <button id="78">ContextMenu</button>
  <button id="76">Queue</button>
  <button id="72">Delete</button>
  </joystick>
  </MyVideoFiles>
- <MyVideoPlaylist>
- <joystick name="AppleRemote">
  <button id="6">Playlist</button>
  <button id="77">Playlist</button>
  <button id="72">Delete</button>
  <button id="73">MoveItemUp</button>
  <button id="74">MoveItemDown</button>
  </joystick>
  </MyVideoPlaylist>
- <VirtualKeyboard>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">Enter</button>
  <button id="77">BackSpace</button>
  <button id="71">Shift</button>
  <button id="70">Space</button>
  <button id="75">CursorLeft</button>
  <button id="76">CursorRight</button>
  </joystick>
  </VirtualKeyboard>
- <ContextMenu>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">Close</button>
  </joystick>
  </ContextMenu>
- <FileStackingDialog>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </FileStackingDialog>
- <MusicInformation>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </MusicInformation>
- <MovieInformation>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </MovieInformation>
- <PictureInfo>
- <joystick name="AppleRemote">
  <button id="3">Left</button>
  <button id="4">Right</button>
  <button id="6">Close</button>
  </joystick>
  </PictureInfo>
- <MyFiles>
- <joystick name="AppleRemote">
  <button id="78">ContextMenu</button>
  <button id="74">Highlight</button>
  <button id="77">ParentDir</button>
  <button id="72">Delete</button>
  <button id="70">Move</button>
  <button id="76">Copy</button>
  </joystick>
  </MyFiles>
  </keymap>
Reply
#14
chuckkay Wrote:Apple TV 1G has the ability to add more remote buttons from another remote so you don't have to rely on the press and hold method.

After adding the custom remote buttons in the apple tv settings screen xbmc translates those key presses to Button ID 70,71,72,73,74,75,76,77 & 78

I hope to be able to do the same for ATV2, as I just bought 5 of them, 1 for every room in my house.

I set up my joystick.AppleRemote.xml 2 years ago for ATV 1G (see code below)
I love the added functionality, in full video I have stop and 2 size step back/foward modes

in Video file mode I have a context menu, info, delete, back and root buttons

And in file manager mode (MY Files) I have highlight, copy, move and delete which work great
here's my code, I put it on my ATV2 but no joy yet.

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>
- <!--  Pageup
  -->
  <button id="73">SkipPrevious</button>
- <!--  Pagedown
  -->
  <button id="74">SkipNext</button>
- <!--  Rewind
  -->
  <button id="75">Rewind</button>
- <!--  Forward
  -->
  <button id="76">FastForward</button>
- <!--  Back
  -->
  <button id="77">ParentDir</button>
- <!--  Tools
  -->
  <button id="78">ContextMenu</button>
- <!--  few gestures from Apple's iPhone Remote (ATV > 2.3 ?)
  -->
- <!--  SwipeLeft  
  -->
  <button id="80">Left</button>
- <!--  SwipeRight  
  -->
  <button id="81">Right</button>
- <!--  SwipeUp  
  -->
  <button id="82">Up</button>
- <!--  SwipeDown  
  -->
  <button id="83">Down</button>
  </joystick>
  </global>
- <Home>
- <joystick name="AppleRemote">
  <button id="6">Fullscreen</button>
  </joystick>
  </Home>
- <MyMusicPlaylist>
- <joystick name="AppleRemote">
  <button id="6">Playlist</button>
  </joystick>
  </MyMusicPlaylist>
- <MyMusicPlaylistEditor>
- <joystick name="AppleRemote">
  <button id="5">ContextMenu</button>
- <!--  FIXME?
  -->
  <button id="6">Playlist</button>
  </joystick>
  </MyMusicPlaylistEditor>
- <MyMusicFiles>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  </joystick>
  </MyMusicFiles>
- <MyMusicLibrary>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  </joystick>
  </MyMusicLibrary>
- <FullscreenVideo>
- <joystick name="AppleRemote">
  <button id="1">BigStepForward</button>
  <button id="2">StepBack</button>
  <button id="3">SmallStepBack</button>
  <button id="4">StepForward</button>
  <button id="5">AspectRatio</button>
  <button id="6">OSD</button>
  <button id="78">Info</button>
  <button id="77">BigStepBack</button>
  </joystick>
  </FullscreenVideo>
- <FullscreenInfo>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  <button id="78">Close</button>
  </joystick>
  </FullscreenInfo>
- <PlayerControls>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </PlayerControls>
- <Visualisation>
- <joystick name="AppleRemote">
  <button id="1">VolumeUp</button>
  <button id="2">VolumeDown</button>
  <button id="3">SkipPrevious</button>
  <button id="4">SkipNext</button>
  <button id="5">XBMC.ActivateWindow(MusicOSD)</button>
  <button id="6">Fullscreen</button>
  </joystick>
  </Visualisation>
- <MusicOSD>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </MusicOSD>
- <VisualisationSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </VisualisationSettings>
- <VisualisationPresetList>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </VisualisationPresetList>
- <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">Info</button>
  <button id="6">Stop</button>
  </joystick>
  </SlideShow>
- <ScreenCalibration>
- <joystick name="AppleRemote">
  <button id="5">NextCalibration</button>
  </joystick>
  </ScreenCalibration>
- <SelectDialog>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">ContextMenu</button>
  </joystick>
  </SelectDialog>
- <VideoOSD>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </VideoOSD>
- <VideoMenu>
- <joystick name="AppleRemote">
  <button id="6">OSD</button>
  </joystick>
  </VideoMenu>
- <OSDVideoSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </OSDVideoSettings>
- <OSDAudioSettings>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">PreviousMenu</button>
  </joystick>
  </OSDAudioSettings>
- <VideoBookmarks>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </VideoBookmarks>
- <MyVideoLibrary>
- <joystick name="AppleRemote">
  <button id="6">ParentDir</button>
  <button id="77">ParentDir</button>
  </joystick>
  </MyVideoLibrary>
- <MyVideoFiles>
- <joystick name="AppleRemote">
  <button id="6">Info</button>
  <button id="77">ParentDir</button>
  <button id="78">ContextMenu</button>
  <button id="76">Queue</button>
  <button id="72">Delete</button>
  </joystick>
  </MyVideoFiles>
- <MyVideoPlaylist>
- <joystick name="AppleRemote">
  <button id="6">Playlist</button>
  <button id="77">Playlist</button>
  <button id="72">Delete</button>
  <button id="73">MoveItemUp</button>
  <button id="74">MoveItemDown</button>
  </joystick>
  </MyVideoPlaylist>
- <VirtualKeyboard>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">Enter</button>
  <button id="77">BackSpace</button>
  <button id="71">Shift</button>
  <button id="70">Space</button>
  <button id="75">CursorLeft</button>
  <button id="76">CursorRight</button>
  </joystick>
  </VirtualKeyboard>
- <ContextMenu>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="78">Close</button>
  </joystick>
  </ContextMenu>
- <FileStackingDialog>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </FileStackingDialog>
- <MusicInformation>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  </joystick>
  </MusicInformation>
- <MovieInformation>
- <joystick name="AppleRemote">
  <button id="6">Close</button>
  <button id="77">Close</button>
  </joystick>
  </MovieInformation>
- <PictureInfo>
- <joystick name="AppleRemote">
  <button id="3">Left</button>
  <button id="4">Right</button>
  <button id="6">Close</button>
  </joystick>
  </PictureInfo>
- <MyFiles>
- <joystick name="AppleRemote">
  <button id="78">ContextMenu</button>
  <button id="74">Highlight</button>
  <button id="77">ParentDir</button>
  <button id="72">Delete</button>
  <button id="70">Move</button>
  <button id="76">Copy</button>
  </joystick>
  </MyFiles>
  </keymap>

Tell me you didn´t Laugh
Reply
#15
I have two in my bathroom.
Check out my stationery blog- http://www.tailormadeinvites.co.uk
Reply

Logout Mark Read Team Forum Stats Members Help
Keymap for Apple remote with big step (download link)0