Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Any hints for touch screen supportin script?

$
0
0
Are there any docs/hints/examples for writing a script WindowXML that is touch screen friendly? I have requests to add media controls etc for people using touch screens, but i don't really know how this works (I haven't even used any buttons etc yet!).

Are there different events for press vs hold, for instance (so I can have buttons with multiple behaviours)?

Is it all just handled like normal skin buttons, or is there something different to it? And if so - do python addons have access to these differences?

My guess is to bung the controls into my skin xml file, and then basically look for event on these buttons (using the ids I set in my skin file?) in onAction? or onControl, I have seen mentioned...or do I have to add the controls via python itself?

Any tips appreciated!!

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>