1 from config import configElement
2 from config import config
7 def setRepeat(self, value):
9 def setDelay(self, value):
12 def InitInputDevices():
13 config.inputDevices = config;
14 config.inputDevices.repeat = configElement("config.inputDevices.repeat", config.Slider, 10);
15 config.inputDevices.delay = configElement("config.inputDevices.delay", config.Slider, 10);
17 def inputDevicesRepeatChanged(configElement):
18 print "setup rc repeat"
19 #inputDevices.setRepeat(configElement.value);
21 def inputDevicesDelayChanged(configElement):
22 print "setup rc delay"
23 #inputDevices.setDelay(configElement.value);
25 # this will call the "setup-val" initial
26 config.inputDevices.repeat.addNotifier(inputDevicesRepeatChanged);
27 config.inputDevices.delay.addNotifier(inputDevicesDelayChanged);