Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PiTFT touchscreen gives crazy, jumping output (pygame) #776

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

PiTFT touchscreen gives crazy, jumping output (pygame) #776

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
endoflife Bug might be valid, but SDL-1.2 is EOL.

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.15
Reported for operating system, platform: Linux, ARM

Comments on the original bug report:

On 2018-07-04 21:53:59 +0000, wrote:

The hardware: raspberry pi + PiTFT 2.8" capacitive touchscreen.
Test case:
import sys, pygame, os

os.putenv('SDL_MOUSEDEV', '/dev/input/touchscreen')
os.environ["SDL_FBDEV"] = "/dev/fb1"
os.putenv('SDL_VIDEODRIVER', 'fbcon')
os.putenv('SDL_MOUSEDRV', 'TSLIB')
pygame.init()

size = width, height = 240, 320

screen = pygame.display.set_mode(size)

while 1:
for event in pygame.event.get():
if event.type == pygame.QUIT: sys.exit()
pygame.display.flip()

I can provide a video, but essentially cursor jumps around instead of following the finger. It used to work somewhere around version 1.2.15 (to be confirmed). Much more info here:

https://forums.adafruit.com/viewtopic.php?f=47&t=76169&p=439894#p435225

@slouken slouken added endoflife Bug might be valid, but SDL-1.2 is EOL. and removed bug labels May 15, 2022
@slouken slouken closed this as completed May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
endoflife Bug might be valid, but SDL-1.2 is EOL.
Projects
None yet
Development

No branches or pull requests

2 participants