self["key_blue"] = StaticText("")
self["introduction"] = StaticText(self.edittext)
- self.devices = [(iInputDevices.getDeviceName(x),x) for x in iInputDevices.getDeviceList()]
+ self.devices = [(iInputDevices.getDeviceName(x)[9:],x) for x in iInputDevices.getDeviceList()]
print "[InputDeviceSelection] found devices :->", len(self.devices),self.devices
self["OkCancelActions"] = HelpableActionMap(self, "OkCancelActions",
enabled = iInputDevices.getDeviceAttribute(device, 'enabled')
if type == 'remote':
- if config.misc.rcused.value == 0:
+ if config.misc.rcused.value != 1:
if enabled:
devicepng = LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/input_rcnew-configured.png"))
else: