Android Can't get swipe gestures to work in Gotham
#1
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:

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?
Reply
#2
I can't get volume to work on iOS either using the same keymap commands. I'll try to troubleshoot some more in a bit. If I get it working then I'll let you know and will reply here. Same if I can't get it working :)
Reply

Logout Mark Read Team Forum Stats Members Help
Can't get swipe gestures to work in Gotham0