service: add sort of servicelist including all required layers
[enigma2.git] / lib / python / Components / InputDevice.py
index 599dff3..f800f30 100644 (file)
@@ -3,22 +3,22 @@ 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 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, 3);
-       config.inputDevices.delay = configElement("config.inputDevices.delay", ConfigSlider, 3);
+       config.inputDevices.repeat = configElement("config.inputDevices.repeat", ConfigSlider, 5, "");
+       config.inputDevices.delay = configElement("config.inputDevices.delay", ConfigSlider, 4, "");
 
        #this instance anywhere else needed?    
        iDevices = inputDevices();