increase rfmod tuning range.
[enigma2.git] / lib / python / Components / InputDevice.py
index eb88e65039e4174941b8be8b5afc88cba0be1531..bfb5435b80a39f09a3df4c2379248f3254549fc7 100644 (file)
@@ -2,23 +2,23 @@ from config import config                             #global config instance
 
 from config import configElement
 from config import ConfigSubsection
-from config import ConfigSlider
-from config import configBoolean
+from config import configSlider
+from config import configSelection
 
 class inputDevices:
        def __init__(self):
                pass
        def setRepeat(self, value):
-               print "setup rc repeat"
+               #print "setup rc repeat"
                pass
        def setDelay(self, value):
-               print "setup rc delay"
+               #print "setup rc delay"
                pass
 
 def InitInputDevices():
        config.inputDevices = ConfigSubsection();
-       config.inputDevices.repeat = configElement("config.inputDevices.repeat", ConfigSlider, 5, "");
-       config.inputDevices.delay = configElement("config.inputDevices.delay", ConfigSlider, 4, "");
+       config.inputDevices.repeat = configElement("config.inputDevices.repeat", configSlider, 5, (1, 10))
+       config.inputDevices.delay = configElement("config.inputDevices.delay", configSlider, 4, (1, 10))
 
        #this instance anywhere else needed?    
        iDevices = inputDevices();