2013-08-21, 23:17
I made a touchscreen.xml which I have placed in the right location, /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/keymaps/
I can see that it is loaded in xbmc.log
But, when I start a video and try to use the controls I've defined under <fullscreenvideo> it doesn't work. They are not seen at all in my xbmc.log (xbmc is running with debug enabled per default I discovered).
I'm running Gotham from Aug 10.
This is the XML:
And this is the log: http://xbmclogs.com/show.php?id=48010
Edit: Just posting this solved it, I had forgotten <touch> under fullscreenvideo.
Edit2: Volume still doesn't work though (up/down). Clues?
I can see that it is loaded in xbmc.log
But, when I start a video and try to use the controls I've defined under <fullscreenvideo> it doesn't work. They are not seen at all in my xbmc.log (xbmc is running with debug enabled per default I discovered).
I'm running Gotham from Aug 10.
This is the XML:
Code:
<keymap>
<global>
<touch>
<tap>LeftClick</tap>
<longpress>RightClick</longpress>
<tap pointers="2">RightClick</tap>
<pan>PanGesture</pan>
<swipe direction="left">SwipeLeft</swipe>
<swipe direction="left" pointers="2">Back</swipe>
<swipe direction="right">SwipeRight</swipe>
<swipe direction="up">SwipeUp</swipe>
<swipe direction="down">SwipeDown</swipe>
</touch>
</global>
<fullscreenvideo>
<touch>
<swipe direction="left">StepBack</swipe>
<swipe direction="left" pointers="2">BigStepBack</swipe>
<swipe direction="right">StepForward</swipe>
<swipe direction="right" pointers="2">BigStepForward</swipe>
<swipe direction="up">VolumeUp</swipe>
<swipe direction="down">VolumeDown</swipe>
</touch>
</fullscreenvideo>
<SlideShow>
<touch>
<zoom>ZoomGesture</zoom>
<rotate>RotateGesture</rotate>
</touch>
</SlideShow>
</keymap>
And this is the log: http://xbmclogs.com/show.php?id=48010
Edit: Just posting this solved it, I had forgotten <touch> under fullscreenvideo.
Edit2: Volume still doesn't work though (up/down). Clues?