[tuxdroid-svn] r5335 - software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-09-08 07:30:55
|
Author: remi
Date: 2009-09-08 09:30:45 +0200 (Tue, 08 Sep 2009)
New Revision: 5335
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
Log:
* Added method to send RAW commands
Modified: software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py 2009-09-08 07:30:09 UTC (rev 5334)
+++ software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py 2009-09-08 07:30:45 UTC (rev 5335)
@@ -166,6 +166,16 @@
"""
self.__tuxDriver.PerformMacroText(macro)
+ # --------------------------------------------------------------------------
+ # Execute a RAW command.
+ # --------------------------------------------------------------------------
+ def executeRawCommand(self, rawCommand, delay = 0.0):
+ """Execute a RAW command.
+ @param rawCommand: RAW command.
+ @param delay: Delay before to execute the command.
+ """
+ self.__tuxDriver.PerformCommand(0.0, rawCommand)
+
# Sound --------------------------------------------------------------------
# --------------------------------------------------------------------------
|