# HG changeset patch # User Atul Varma # Date 1203943695 21600 # Node ID 0a32f80df44e8fa9531eadd24fd369aa76bd26e6 # Parent 5477703cfb738ed84632aa855399fca47c765f45 Got rid of the inputmanager singleton, which wasn't needed. diff -r 5477703cfb73 -r 0a32f80df44e enso_osx/input.py --- a/enso_osx/input.py Sun Feb 24 20:57:43 2008 -0600 +++ b/enso_osx/input.py Mon Feb 25 06:48:15 2008 -0600 @@ -83,12 +83,6 @@ 27: "-", } -# TODO: I don't think we need this singleton... -_inputManager = None - -def get(): - return _inputManager - class _KeyNotifierController( object ): def __init__( self ): pass @@ -166,11 +160,8 @@ class InputManager( object ): def __init__( self, quasimodeKeycode ): - global _inputManager - self.__shouldStop = False self.__mouseEventsEnabled = False - _inputManager = self self.__qmKeycodes = [0, 0, 0] self.__isModal = False self.__inQuasimode = False