Page 1 of 1

Pygame FULLSCREEN with 7" Touchscreen

Posted: Tue Jan 10, 2017 8:56 pm
by paul42
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

Re: Pygame FULLSCREEN with 7" Touchscreen

Posted: Tue Jan 17, 2017 11:51 am
by texy
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

Re: Pygame FULLSCREEN with 7" Touchscreen

Posted: Wed Jan 18, 2017 8:37 am
by paul42
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.