fix rc-keyboard.
[vuplus_dvbapp] / lib / python / Components / Input.py
index 4d3c8a1..017d109 100644 (file)
@@ -225,7 +225,12 @@ class Input(VariableText, HTMLComponent, GUIComponent, NumericalTextInput):
                if self.allmarked:
                        self.deleteAllChars()
                        self.allmarked = False
-               self.insertChar(unichr(code), self.currPos, False, False);
+               #self.insertChar(unichr(code), self.currPos, False, False);
+               from Components.config import getCharValue
+               newcode = getCharValue(code)
+               if newcode is None:
+                       return
+               self.insertChar(newcode, self.currPos, False, False);
                self.innerright()
                self.update()