Updated ps3 for more buttons

This commit is contained in:
shrkey
2016-03-01 23:04:49 +00:00
parent b454055c1d
commit 1db66c2e48

2
ps3.py
View File

@@ -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):