Pictures OSD (On Screen Display) Window, and Context-Menu for Slideshow in Pictures?
#16
hi to all. i'm new to this forum.
i reup this thread. I really need only a way to navigate from touchscreen device during the slideshow execution. and a way to exit from slideshow.
I already try to edit slideshow.xml file adding a button control, visualization is ok but is ignored by touch.
sorry for my english..
I hope that someone can help me
thank you in advance
Reply
#17
Hi. I also would like to up this thread as well. I'm using the CarPC-touch skin. However all I need is the slideshow to exit at touching the screen, I don't need it to pause like in Confluence. I do C and C++ programming so patching the sources is something I'd gladly consider. I just need a couple of hints [EDIT: through kodi hacking & development]. I hope to provide a Patch shortly.
Reply
#18
(2015-09-11, 15:41)vinzc Wrote: Hi. I also would like to up this thread as well. I'm using the CarPC-touch skin. However all I need is the slideshow to exit at touching the screen, I don't need it to pause like in Confluence. I do C and C++ programming so patching the sources is something I'd gladly consider. I just need a couple of hints. I hope to provide a Patch shortly.

Would be very nice to implement more (or better) touch-control for slideshow. See: https://github.com/xbmc/xbmc/blob/master...screen.xml

ie this touchscreen.xml (in system folder in profile):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <global>
    <touch>
      <tap>LeftClick</tap>
      <longpress>RightClick</longpress>
      <tap pointers="2">Menu</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="right">StepForward</swipe>
      <swipe direction="up">ChapterOrBigStepForward</swipe>
      <swipe direction="down">ChapterOrBigStepBack</swipe>
      <swipe direction="left" pointers="2">Seek(-7)</swipe>
      <tap pointers="2">PlayPause</tap>
    </touch>
  </FullScreenVideo>
  <FullScreenLiveTV>
   <touch>
      <tap pointers="2">ActivateWindow(pvrosdchannels)</tap>
      <swipe direction="up">ChannelUp</swipe>
      <swipe direction="down">ChannelDown</swipe>
    </touch>
  </FullScreenLiveTV>
  <FullScreenRadio>
    <touch>
      <swipe direction="up">ChannelUp</swipe>
      <swipe direction="down">ChannelDown</swipe>
    </touch>
  </FullScreenRadio>
  <VideoOSD>
    <touch>
      <longpress>CodecInfo</longpress>
    </touch>
  </VideoOSD>
  <Visualisation>
    <touch>
      <swipe direction="left">StepBack</swipe>
      <swipe direction="right">StepForward</swipe>
      <swipe direction="up">SkipNext</swipe>
      <swipe direction="down">SkipPrevious</swipe>
    </touch>
  </Visualisation>
  <SlideShow>
    <touch>
      <zoom>ZoomGesture</zoom>
      <rotate>RotateGesture</rotate>
      <swipe direction="left">PreviousPicture</swipe>
      <swipe direction="right">NextPicture</swipe>
      <tap pointers="2">Info</tap>
    </touch>
  </SlideShow>
  <MyFiles>
    <touch>
      <tap>Select</tap>
      <swipe direction="left">Highlight</swipe>
      <swipe direction="right">Highlight</swipe>
    </touch>
  </MyFiles>
  <ScreenCalibration>
    <touch>
      <swipe direction="up">Up</swipe>
      <swipe direction="down">Down</swipe>
      <swipe direction="right">Right</swipe>
      <swipe direction="left">Left</swipe>
      <tap pointers="1">NextCalibration</tap>
    </touch>
  </ScreenCalibration>
</keymap>

Above code adds extra slideshow touch control (incl. LiveTV and Radio support). On my touch-device I use longpress to exit slideshow. Others players in kodi, have mapped this to "back" but slideshow misses OSD and ends slideshow.

Above code shows some possibilities and adding code to exit slideshow could maybe not need C/C++-skills. Only adding something like
Code:
<swipe direction="left" pointers="2">back</swipe>
or
Code:
<swipe direction="left" pointers="2">ActivateWindow(Home)</swipe>
to touchscreen.xml might do your job.
Reply

Logout Mark Read Team Forum Stats Members Help
Pictures OSD (On Screen Display) Window, and Context-Menu for Slideshow in Pictures?2