diff -r a9ebacd6c089 -r fda26bfcabef middleware/src/MainModule/Events/PushListener.cs --- a/middleware/src/MainModule/Events/PushListener.cs Wed Apr 04 10:51:21 2012 +0200 +++ b/middleware/src/MainModule/Events/PushListener.cs Thu Apr 05 15:54:44 2012 +0200 @@ -23,6 +23,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; +using Trakers.Tracking.Gestures; namespace Trakers.MainModule.Events { @@ -37,20 +38,20 @@ //Lorsqu'il s'agit d'un push/pull de la main gauche/droite/deux deux on envoie le message //correspondant. String code = ""; - if (e.direction == Gestures.PushDetector.Direction.PUSH) + if (e.direction == PushDetector.Direction.PUSH) { - if (e.hand == Gestures.PushDetector.Hand.RIGHT) + if (e.hand == PushDetector.Hand.RIGHT) code = "PUSH-RIGHT"; - else if (e.hand == Gestures.PushDetector.Hand.LEFT) + else if (e.hand == PushDetector.Hand.LEFT) code = "PUSH-LEFT"; else code = "PUSH-BOTH"; } else { - if (e.hand == Gestures.PushDetector.Hand.RIGHT) + if (e.hand == PushDetector.Hand.RIGHT) code = "PULL-RIGHT"; - else if (e.hand == Gestures.PushDetector.Hand.LEFT) + else if (e.hand == PushDetector.Hand.LEFT) code = "PULL-LEFT"; else code = "PULL-BOTH";