[LINUX] Touchscreen (touch screen) issue only with XBMC? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Touchscreen (touch screen) issue only with XBMC? (/showthread.php?tid=89536)
[LINUX] Touchscreen (touch screen) issue only with XBMC? - Blacksheep70 - 2011-01-04 14:12
I am using XBMC with MythTV integration ony my HTPC with Ubuntu 10.10. One of the last open construction sites is the touchscreen in XBMC. The used driver is elotouch
I am using an USB Elo Touchscreen which works well (!) on the desktop. I can move the pointer everywhere i want, start programs from the application menu and so on.
As soon XBMC is started it seems that the mouse control does not work properly. I see the mouse pointer moving along the left and upper border of the TFT when I touch the touchscreen and move my finger. But the mouse pointer is not able to leave the border. Feels like it is gluing at the border and can only moved along there but not e.g. to the middle of the screen.
The lines should show where i can move the pointer along, the X should demonstrate the area where i can't move the pointer to.
With a normal usb mouse I can move the pointer everywhere I want.
Search for similar problems here and with google was not helpful.
Thanx in advantage!
- SpiffBB - 2011-01-04 17:57
Just to be shure - you havent by misstake disabled mouse controll in settings?!
- Blacksheep70 - 2011-01-04 22:53
thanx for your answer. But: If the mouse control is disabled I would expect that the normal mouse would not work. But it does as described above.
But this brought me to the idea that both devices connected could be the problem... But the same behaviour exists when I unplug the USB mouse.
- Blacksheep70 - 2011-01-10 14:14
Not only to bump the topic... Found out more:
If XBMC is running in windowed mode, the touchscreen works well. I can select everything I want im XBMC.
But if XBMC is running in the fullscreen mode the behaviour I initially described is happen.
So it seems that XBMC is making a difference in handling mouse events when running windowed and full screen?
Would be cool if a XBMC developer could make a statement here and probably fix that...
Running XBMC windowed is uncool on a pure HTPC
- Blacksheep70 - 2011-01-11 15:23
I will submit this as a bug today...
- Blacksheep70 - 2011-01-11 18:03
Ticket #11051 created.
- Blacksheep70 - 2011-01-23 19:50
kais replied into the ticket and the workaround works for me:
Quote:Seems that the SDL has a bug/feature that blocks the SDL_MOUSEMOTION events if a custom mouse cursor is used instead of the system mouse cursor in the fullscreen mode (see http://us.generation-nt.com/answer/bug-559615-boswars-uncontrollable-wacom-tablet-when-full-screen-mode-help-168935561.html and http://blogs.distant-earth.com/wp/?p=293).
Thanx a lot, kais! Quoted your answer here. Maybe someone need the solution too.
- ofer_shm - 2011-02-14 09:43
i have the same problem with my touch screen
evrything work good but when i run xbmc in full screen the touch screen stop working
i didnt understand how to solve it , i cant find the file runxbmc
- Blacksheep70 - 2011-02-14 19:59
It's quite easy:
create the file by using your prefered text editor, e.g.
insert following into the file:
Save the file by pressing STRG&X
Make the new created file executeable (I did it as root):
And that was the trick. At least you have to point the existing auto start for xmbc to the new /usr/bin/runXBMC file.
Works fine on my system. Feel free to ask if you have further issues with the above....
- ofer_shm - 2011-02-15 12:47
Thank you very much !!!
it work fine now