[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: Kodi 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)
Pages: 1 2
[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
thank you very much - oxist - 2011-02-17 13:04
i have the same problem on my touchscreen
How do i point the existing auto start for XBMC to the new /usr/bin/runXBMC file?
- barrydocks - 2011-03-03 17:42
oxist Wrote:i have the same problem on my touchscreen
I need the same answer? work around works great!
- LoloMc² - 2011-09-16 08:06
Thank you for tips, it works too on mine. Just a question, when double clicking on the "runXBMC" file generated, it asks me "launch in a terminal / launch / edit /whatever"...
Is there any way to avoid to answer to this question
- Swifty - 2011-09-17 12:37
Just wanted to say thanks for this find! Up until now I'd been manually patching xbmc to get the touchscreen working - now with this fix I don't have to
- stujarvis - 2011-11-28 16:09
EDIT - Actually, I don't think my issue is XBMC specific at all - I see the same launching X alone. Hmm, must need to fiddle with Ubuntu to get the touch screen working. But that's offtopic here.
Sorry for the noise, I'll leave my original post below anyway, just in case...