Page 1 of 1

Mouse Key

Posted: Fri Jun 01, 2007 4:18 pm
by Masta_J
Sup guys, was wondering if anyone knows the numerical value for left and right mouse keys. I have all of the keyboard values.
Thanks

Posted: Fri Jun 01, 2007 4:31 pm
by Juutis
self.lbutton_pressed and self.rbutton_pressed return if the mouse keys are pressed.

You can also check the numbers for each key with self.key_pressed. Just make sure you have console enabled and then use debug(self.key_pressed) and it should show you the numerical value for the key in the console.