I am working on (not really a game, but it's using pygame so I hope my question is on topic here).
The program appears to be looking at /dev/input/event0
, which is random USB mouse, just like the desktop environment and everything else is. But what I need is for pygame.mouse
to be "connected" (not sure of the right word here) to /dev/input/event2
, which is the USB touchscreen.
I've figured these two paths out by using evtest /dev/input/event2
and seeing which one responds to being fingered but I have not figured out how to configure pygame to look at the right one, is there a way or is this hardwired somehow?