Kodi Community Forum

Full Version: [PATCH] Attempt to modify code to use Touchscreens via "raw mouse input" on Linux...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK here is another thread about touchscreen support for XBMC!

However this time I have open this in the developer section given that I a should be in the position to try to solve this myself, but I need a little help to make it go faster...

So if I got it right the touchscreen issue is related to SDL. Most of touchscreen drivers have direct access to video memory, whilst XBMC forces the mouse to be used via sdl_mouse. So the workaround would then be to change XBMC to support using "raw mouse input" instead of sdl_mouse?

I posted a initial diff patch on trac http://xbmc.org/ticket/6224

Is this correct?

Please, I really need some help from other developers Eek
which touchscreen do you have (technology).

i actually haven't tried mine yet. but will test in a couple days.

is this linux, windows...?
I have an eeti touchscreen wich works fine in windowed mode but no way to make it work in fullscreen

nb: this forum name is "XBMC for Linux - Developers Only Forum"
Ok I got it working:

the SDL library is not fully compliant with my eeti Touchscreen (or viceversa?)

anyway: any attempt to disable the cursor leads to crazyness of touchscreen
just force the ShowCursor argument to 1 to get the code working

this is just a patch, given that for the moment I have not yet open the "SDL_ShowCursor" box Smile
I am glad to see some one working on this. xbmc will make a great interface for a car computer.
For the momentI make it work and I even implmented some special finger action i.e. to navigate to parent menus
Bruno Wrote:Ok I got it working:

the SDL library is not fully compliant with my eeti Touchscreen (or viceversa?)

anyway: any attempt to disable the cursor leads to crazyness of touchscreen
just force the ShowCursor argument to 1 to get the code working

this is just a patch, given that for the moment I have not yet open the "SDL_ShowCursor" box Smile

I'm not sure if understand what you mean? Touchscreen is working fine? What can I do to get it working for me?
Hy scatebase,

I posted a diff in the trac (http://xbmc.org/ticket/6224).
But ... What is your problem ?
Please give some details ...

Touchscreen driver/OS/xbmc version/skin/problem
Hello,

@Bruno : Could you please tell me where (and when) can I found the patch?
I'd love to try it with my touchscreen... Smile

Thks
Thank you..
Oh.. shit, I don't see I was on a Dev forum!
I have no dev tools to compile the patch.
Sorry.
Did you know if this patch will appear in svn builds?
is there a compiled version for windows? Blush