Author: remi
Date: 2009-06-09 15:02:08 +0200 (Tue, 09 Jun 2009)
New Revision: 4764

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/resources/04_robot_content_interactions/00_resourceRobotContentInteractions.py
Log:
* inverted left/right flippers events

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/04_robot_content_interactions/00_resourceRobotContentInteractions.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/04_robot_content_interactions/00_resourceRobotContentInteractions.py
      2009-06-09 12:53:25 UTC (rev 4763)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/04_robot_content_interactions/00_resourceRobotContentInteractions.py
      2009-06-09 13:02:08 UTC (rev 4764)
@@ -664,20 +664,20 @@
                     self.__contextBtRunAbort()
             elif eventName == "left":
                 if args[0] == True:
-                    self.__contextLTPrevious(eventName, *args)
+                    self.__contextRBNext(eventName, *args)
             elif eventName == "right":
                 if args[0] == True:
-                    self.__contextRBNext(eventName, *args)
+                    self.__contextLTPrevious(eventName, *args)
             elif eventName == "remote":
                 if args[0] == "K_OK":
                     self.__contextBtRunAbort()
                 elif args[0] == "K_LEFT":
                     self.__contextLTPrevious(eventName, *args)
-                elif args[0] == "K_TOP":
+                elif args[0] == "K_UP":
                     self.__contextLTPrevious(eventName, *args)
                 elif args[0] == "K_RIGHT":
                     self.__contextRBNext(eventName, *args)
-                elif args[0] == "K_BOTTOM":
+                elif args[0] == "K_DOWN":
                     self.__contextRBNext(eventName, *args)
                 else:
                     self.__contextBtOther(eventName, *args)


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to