fixes
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 17 Aug 2005 00:14:54 +0000 (00:14 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 17 Aug 2005 00:14:54 +0000 (00:14 +0000)
lib/python/Components/InputDevice.py

index 164a90d..599dff3 100644 (file)
@@ -1,6 +1,9 @@
-from config import configElement
 from config import config                              #global config instance
+
+from config import configElement
 from config import ConfigSubsection
+from config import ConfigSlider
+from config import configBoolean
 
 class inputDevices:
        def __init__(self):
@@ -13,9 +16,9 @@ class inputDevices:
                pass
 
 def InitInputDevices():
-       config.inputDevices = ConfigSubsection;
-       config.inputDevices.repeat = configElement("config.inputDevices.repeat", config.Slider, 10);
-       config.inputDevices.delay = configElement("config.inputDevices.delay", config.Slider, 10);
+       config.inputDevices = ConfigSubsection();
+       config.inputDevices.repeat = configElement("config.inputDevices.repeat", ConfigSlider, 3);
+       config.inputDevices.delay = configElement("config.inputDevices.delay", ConfigSlider, 3);
 
        #this instance anywhere else needed?    
        iDevices = inputDevices();