paul42
Posts: 26
Joined: Mon Nov 26, 2012 5:38 pm

Pygame FULLSCREEN with 7" Touchscreen

Tue Jan 10, 2017 8:56 pm

I am using the official 7" touchsceen & love it. Using Jessie & Python 3.4

I have a pygame program which works fine. Currently running it from a command line window in the Rpi GUI.

I can run it windowed or fullscreen, both work ok. However if i use pygame.mouse.set_visible (False) all is fine when windowed, ie no cursor but touch is perfect, but when i use pygame.FULLSCREEN the touch & external mouse don't work.

Rpi reports correct screen size, underscan is set to enable. Only get the issue with the fullscreen setting.

Any ideas out there, thanks.
Paul

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Pygame FULLSCREEN with 7" Touchscreen

Tue Jan 17, 2017 11:51 am

Last time I looked, there was a major problem with Jessie running pygame with regards to the cursor :
viewtopic.php?f=108&t=136411&p=1049013

However that was a while ago, and maybe things have progressed since then - I guess if your asking about it, then it hasn't :o

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

paul42
Posts: 26
Joined: Mon Nov 26, 2012 5:38 pm

Re: Pygame FULLSCREEN with 7" Touchscreen

Wed Jan 18, 2017 8:37 am

Thanks, i am only using single touch & that part works fine with my application full screen or windowed.

I did try using unclutter which again is perfect when windowed but refuses to work fullscreen. Have tried all the unclutter options.

I can live with the cursor showing, it's just not perfect. Otherwise it works great for me.

Return to “Python”