Updated ps3 for more buttons
This commit is contained in:
2
ps3.py
2
ps3.py
@@ -52,6 +52,8 @@ class ps3:
|
|||||||
self.lastleft = -1
|
self.lastleft = -1
|
||||||
self.lastright = -1
|
self.lastright = -1
|
||||||
self.lastvert = -1
|
self.lastvert = -1
|
||||||
|
self.lastvert2 = -1
|
||||||
|
self.lastside = -1
|
||||||
self.lastbuttontime = 0
|
self.lastbuttontime = 0
|
||||||
# get count of joysticks=1, axes=27, buttons=19 for DualShock 3
|
# get count of joysticks=1, axes=27, buttons=19 for DualShock 3
|
||||||
def select_joystick(self, num):
|
def select_joystick(self, num):
|
||||||
|
|||||||
Reference in New Issue
Block a user