I'm building a simple paint program in Python as a project, using Pygame it works by basically drawing a stream of circles when the mouse gets pressed and you drag it around the surface, it's got a couple other little things going on but the thing I want to ask is, is there a way to change the singular mouse input you know mouse.get_pressed to either multiple mouse inputs at one time or a multi-touch input into the point list that's streaming the circles.
running= True
while running:
if buttons[0] == True:
x,y = pygame.mouse.get_pos()
if x> PA+AS:
xShift = x - PA - AS
pygame.draw.circle(pArea,DRAW_CLR,(xShift,y),BRUSHSIZE)
pygame.display.flip()
so this is the part of the code I really want to change more or less. Just so that instead of just one mouse, I could use my touchscreen to draw with maybe two finger.