--- a/slotUI/SlotCli.py Fri Dec 16 01:05:37 2011 +0100 +++ b/slotUI/SlotCli.py Sat Dec 17 13:24:20 2011 +0100 @@ -167,7 +167,7 @@ while 1: key = self.scr.getch() if key == ord('q'): break - elif key == ord(' '): self.cyclemode() + elif key == ord(' '): self.box.query("+") # panic / resume elif key == ord('1'): self.readName(0) elif key == ord('2'): self.readName(1) elif key == ord('3'): self.readName(2) @@ -289,6 +289,20 @@ self.slot[slot]["status"] = "~~~~~~~~~~" trigger_sound("countdown_start") + if rx == "!PANIC": + # panic mode + trigger_sound("panic") + + if rx == "!SHORTCUT": + # panic mode + trigger_sound("panic_shortcircuit") + + if rx == "!RESUME": + # panic mode + trigger_sound("resume") + + + self.scr.addstr(17,31, "Race Timer: %7.3f min" % (self.sysclk / 60), curses.color_pair(2))