Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-06-26 17:38:46 (GMT)
committer Nat <natcl@hotmail.com>2007-06-26 17:38:46 (GMT)
commite68647f5a3186a963a2b31f22100a2a95bfb3c05 (patch)
tree047ec51bc2dd1085a55752c7b08e9317ad7493ce /TamTam.py
parent063d42edf15315145e17533bf1f72d5884d439f3 (diff)
Knee record stuff
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/TamTam.py b/TamTam.py
index d2a8761..d9b5214 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -17,6 +17,7 @@ from Edit.MainWindow import MainWindow
from Welcome import Welcome
from SynthLab.SynthLabWindow import SynthLabWindow
from Util.Trackpad import Trackpad
+import commands
if __name__ != '__main__':
try:
@@ -155,11 +156,15 @@ class TamTam(Activity):
if key == 58: #M
self.set_mode('mini')
return
- elif key == 39: #S
- self.set_mode('synth')
+ elif key == 49#39: #S
+ #self.set_mode('synth')
+ (a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --record --keyboard --mouse --stop-key h --out-file /home/olpc/test.xnl')
+ print b
return
- elif key == 25: #W
- self.set_mode('welcome')
+ elif key == 10#25: #W
+ #self.set_mode('welcome')
+ (a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --replay --keyboard --mouse --file /home/olpc/test.xnl')
+ print b
return
elif key == 53: #X
self.destroy()