sdd
Posts: 64
Joined: Sun Oct 21, 2012 5:48 pm
Location: USA

Pi3D mouse input

Fri May 17, 2013 11:04 pm

I noticed that in some of the Pi3D examples they had a thing to tell if the mouse moved, how do you tell when its clicked?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4249
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Pi3D mouse input

Fri May 17, 2013 11:35 pm

You get an event just like when a keyboard key is pressed. IIRC BUTTON_LEFT etc. Have a look at the silo.py demo.

Return to “Python”