diff options
author | dxiao <dxiao@mit.edu> | 2011-02-20 17:52:18 -0500 |
---|---|---|
committer | dxiao <dxiao@mit.edu> | 2011-02-20 17:52:18 -0500 |
commit | 00576b225ad8b60ef1e0291e231aa499042436ba (patch) | |
tree | b032b812e5734aaa842b09a1fc3716192f74858a /operationscore/Input.py | |
parent | 792dd4d7139f9080bf6d3d760efe763b8b3f60cc (diff) |
Added an InitialLocationInput
Diffstat (limited to 'operationscore/Input.py')
-rw-r--r-- | operationscore/Input.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/operationscore/Input.py b/operationscore/Input.py index 7720847..8800556 100644 --- a/operationscore/Input.py +++ b/operationscore/Input.py @@ -14,6 +14,7 @@ class Input(ThreadedSmootCoreObject): if not 'RefreshInterval' in self.argDict: self.argDict['RefreshInterval'] = 500 self.parentScope = self.argDict['parentScope'] + self.done = False self.inputInit() def respond(self, eventDict): @@ -44,6 +45,8 @@ class Input(ThreadedSmootCoreObject): self.acquireLock() self.sensingLoop() self.releaseLock() + if self.done: + break def sensingLoop(self): pass |