n4archive / pigame

A pygame wrapper for the libary pitft_touchscreen.
GNU Lesser General Public License v3.0
6 stars 1 forks source link

Workaround Discuss: gmeader #17

Closed nift4 closed 5 years ago

nift4 commented 5 years ago

Workaroud Discussion with @gmeader EDIT: Finished.

gmeader commented 5 years ago

Here is the code I have fixed and/or enhanced. Sorry I did not do a fork and pull request. Next time I will do that.

test.py - I added print statements so you can see what it's doing. pigame.py - I fixed the swapxy and added the rotation == 0 code sdl.py - lots of UI changes and a DEBUG flag that displays lots of info if set to True (but disabled the GPIO actions)

Raspberry-Pi-Testing-glenn.zip

All this works correctly on my PiTFT 2.8 capacitive display.

I still cannot get sdlkit.py to work - see issue in Raspberry-Pi-Testing for details on the error I get.

nift4 commented 5 years ago

What is your display rotation?

nift4 commented 5 years ago

I fixed pigameui and tested EVERYTHING in pigame and the working version is now online.

nift4 commented 5 years ago

I close this issue, but keep looking in.

nift4 commented 5 years ago

Because this a Discussion for #18

nift4 commented 5 years ago

@gmeader

nift4 commented 5 years ago

Finished.