From 3aea760aa437f36e28dee3a9e5c1f5cde649dc4a Mon Sep 17 00:00:00 2001
From: pin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Date: Fri, 24 Jun 2011 12:19:26 +0000
Subject: [PATCH] commentaire++

git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@350 fe552daf-6dbe-4428-90eb-1537e0879342
---
 src/minwii/app.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/minwii/app.py b/src/minwii/app.py
index da2bcb8..a4d2005 100755
--- 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']) :
-- 
2.20.1