[PATCH] Attempt to modify code to use Touchscreens via "raw mouse input" on Linux...
#1
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
Reply
#2
which touchscreen do you have (technology).

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

is this linux, windows...?
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
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"
Reply
#4
Big Grin 
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
Reply
#5
I am glad to see some one working on this. xbmc will make a great interface for a car computer.
ﻪﻥﻋﺸﻷﻜﻈﭚ
Reply
#6
For the momentI make it work and I even implmented some special finger action i.e. to navigate to parent menus
Reply
#7
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?
Reply
#8
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
Reply
#9
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
Reply
#10
Try http://trac.xbmc.org/ticket/6224
Reply
#11
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?
Reply
#12
is there a compiled version for windows? Blush
Reply

Logout Mark Read Team Forum Stats Members Help
[PATCH] Attempt to modify code to use Touchscreens via "raw mouse input" on Linux...0