aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py')
-rwxr-xr-xtools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py b/tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py
index d956c10d95..0000163aa9 100755
--- a/tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py
+++ b/tools/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py
@@ -165,7 +165,10 @@ class PS3SixaxisThread ( StoppableThread ):
if not data:
continue
- (bflags, psflags, pressure) = sixaxis.process_input(data, self.xbmc, toggle_mouse)
+ (bflags, psflags, pressure, analog) = sixaxis.process_input(data, self.xbmc, toggle_mouse)
+
+ if analog:
+ self.reset_timeout()
if psflags:
self.reset_timeout()