diff options
author | Nat <natcl@hotmail.com> | 2007-06-26 17:38:46 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-06-26 17:38:46 (GMT) |
commit | e68647f5a3186a963a2b31f22100a2a95bfb3c05 (patch) | |
tree | 047ec51bc2dd1085a55752c7b08e9317ad7493ce /TamTam.py | |
parent | 063d42edf15315145e17533bf1f72d5884d439f3 (diff) |
Knee record stuff
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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() |