I've written a suite of programs using Pygame for standard desktops. However I have recently been asked to port them to a Windows 7 tablet laptop. Everything works fine, except that if using the touch screen, the first tap on the screen always has the coordinates (0,0). The tap correctly registers as MouseButtonUp and MouseButtonDown events.
Subsequent taps alternate between correct and incorrect coordinates, though the values do vary (only the first tap has the coordinates 0,0).
Using the mouse on the device works fine, but it would be nice to figure out how to use the touch screen.
Has anyone come across this and found a fix?