0

Still need to run SDL 1.2 with PyGame ? 2019?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Still need to run SDL 1.2 with PyGame ? 2019?

by goose2000 on Mon Jan 07, 2019 5:46 pm

Hi, been working hard with the info on this page:
https://learn.adafruit.com/adafruit-2-8 ... ygame-tips

I am running a stretch lite image on my Pi Zero W , I've been able to install and get some of the examples and get pigameui demos to run. My trouble is still with getting the mouse/touch to go the right way, it is still all reversed x and y axis when I touch, drag around. Why is this so difficult ? Any tips on flipping these right? I have configured my config.txt to run :

dtoverlay=pitft28-capacitive,speed=32000000,fps=25
dtoverlay=pitft28-capacitive,touch-swapxy,touch-invx

This helped on some scripts, but not the pigameui stuff - it is guided by some other God. And as the title asked, is it still needed to downgrade to SDL 1.2 ? See, I am trying to build a more up-to-date install; the working images you provide are really just too old (2016), no python3, I need a TFT touchscreen platform that is a little more future proof.

Thanks for ideas (little screen is very cool)
goose2000
 
Posts: 5
Joined: Thu Aug 30, 2012 11:06 am

Please be positive and constructive with your questions and comments.