projects
/
minwii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f42e2e
)
commentaire++
author
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 24 Jun 2011 12:19:26 +0000
(12:19 +0000)
committer
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 24 Jun 2011 12:19:26 +0000
(12:19 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@350
fe552daf
-6dbe-4428-90eb-
1537e0879342
src/minwii/app.py
patch
|
blob
|
history
diff --git
a/src/minwii/app.py
b/src/minwii/app.py
index
da2bcb8
..
a4d2005
100755
(executable)
--- a/
src/minwii/app.py
+++ b/
src/minwii/app.py
@@
-70,6
+70,9
@@
class MinWii(object):
def _wiimotesEventCallBack(self, wt, id, wmp) :
if self.screen == SCREEN_PLAY :
pygame_wiimouse._default_event_cb(wt, id, wmp)
+
+ # le bouton Home de la télécommande permet de sortir
+ # (envoi d'un événement clavier esc)
wm = wmp[0]
if id == self.nwiimotes - 1 and \
wiiuse.is_just_pressed(wm, wiiuse.button['Home']) :