projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
corrections des liaisons entre les syllabes.
[minwii.git]
/
src
/
pywiiuse
/
pygame_wiimote.py
diff --git
a/src/pywiiuse/pygame_wiimote.py
b/src/pywiiuse/pygame_wiimote.py
index
5540430
..
1750549
100755
(executable)
--- a/
src/pywiiuse/pygame_wiimote.py
+++ b/
src/pywiiuse/pygame_wiimote.py
@@
-71,11
+71,6
@@
class wiimote_thread(Thread):
self.event_cb(m)
except :
pass
self.event_cb(m)
except :
pass
-
- #try:
- # wiiuse.poll(self.wiimotes, self.nmotes)
- #except:
- # pass
# allow executing functions in this thread
while True:
# allow executing functions in this thread
while True:
@@
-83,7
+78,6
@@
class wiimote_thread(Thread):
func, args = self.queue.get_nowait()
except Empty:
break
func, args = self.queue.get_nowait()
except Empty:
break
- print 'do:', func.__name__, args
func(*args)
def do(self, func, *args):
func(*args)
def do(self, func, *args):