In the absence of press and hold on the Apple TV remote buttons in XBMC at the moment, I was thinking of making a keymap.xml file to do some of the basic functions that I need.
(for example, at the moment there seems to be no 'stop').
Anyway, I have looked at http://wiki.xbmc.org/?title=Keymap.xml
but can't see 2 things...
1) What do we refer to the Apple TV remote as?
The wiki refers to 'gamepad' 'remote' 'keyboard' and 'universalremote'.
As far as the Apple TV remote is concerned, what section would it be?
(how does xbmc see it?)
2) I can't find a sample keymap.xml (yet), so wanted to check a few things...
I would like to have different functions depending on where you are (it would seem this is possible, but I can't be sure as yet).
I would like in menus, as it is at the moment, (up, down, left, right, play) except 'menu' to go back one step instead of going all the way back to the main menu. (ideally when press and hold is sorted, menu to go back one step, press and hold menu to go all the way back).
When playing video....
Remote - Function
Play - play/pause
Menu - bring up menu
left - back 30 seconds
right - forward 30 seconds
+ - forward 10 minutes
- - stop
(or + to bring up the slider if possible, then use left and right to move along the slider, play to select the position)
When the video is playing and the menu button has been pressed, the remote would then need to go back to up, down, left, right etc.
I think this is probably doable, just need to be pointed in the right direction.