diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-08-17 00:14:54 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-08-17 00:14:54 +0000 |
| commit | f486b6a710f23e85fe79309151c9d32038690872 (patch) | |
| tree | 2bfb0ba885e9534b03b7cc5ef71e3e708d216d7d /lib/python/Components/InputDevice.py | |
| parent | ecbb4f7d287688049495dcb048a14458e1268681 (diff) | |
| download | enigma2-f486b6a710f23e85fe79309151c9d32038690872.tar.gz enigma2-f486b6a710f23e85fe79309151c9d32038690872.zip | |
fixes
Diffstat (limited to 'lib/python/Components/InputDevice.py')
| -rw-r--r-- | lib/python/Components/InputDevice.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/python/Components/InputDevice.py b/lib/python/Components/InputDevice.py index 164a90da..599dff34 100644 --- a/lib/python/Components/InputDevice.py +++ b/lib/python/Components/InputDevice.py @@ -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(); |
