fix virtual keyboard bug.
authorkos <kos@dev3>
Tue, 9 Oct 2012 02:59:10 +0000 (11:59 +0900)
committerkos <kos@dev3>
Tue, 9 Oct 2012 02:59:10 +0000 (11:59 +0900)
lib/python/Screens/VirtualKeyBoard.py

index a2710df..174ffdd 100755 (executable)
@@ -212,13 +212,13 @@ class VirtualKeyBoard(Screen):
                        self.keys_list = [
                                [u"EXIT", u"1", u"2", u"3", u"4", u"5", u"6", u"7", u"8", u"9", u"0", u"BACKSPACE"],
                                [u"q", u"w", u"e", u"r", u"t", u"z", u"u", u"i", u"o", u"p", u"+", u"@"],
-                               [u"a", u"s", u"d", u"f", u"g", u"h", u"j", u"k", u"l", u"#", u"\\"],
+                               [u"a", u"s", u"d", u"f", u"g", u"h", u"j", u"k", u"l", u"#", u"\\", u"|"],
                                [u"<", u"y", u"x", u"c", u"v", u"b", u"n", u"m", u",", ".", u"-", u"CLEAR"],
                                [u"SHIFT", u"SPACE", u"OK"]]
                        self.shiftkeys_list = [
                                [u"EXIT", u"!", u'"', u"ยง", u"$", u"%", u"&", u"/", u"(", u")", u"=", u"BACKSPACE"],
-                               [u"Q", u"W", u"E", u"R", u"T", u"Z", u"U", u"I", u"O", u"P", u"*"],
-                               [u"A", u"S", u"D", u"F", u"G", u"H", u"J", u"K", u"L", u"'", u"?"],
+                               [u"Q", u"W", u"E", u"R", u"T", u"Z", u"U", u"I", u"O", u"P", u"*", u"["],
+                               [u"A", u"S", u"D", u"F", u"G", u"H", u"J", u"K", u"L", u"'", u"?", u"]"],
                                [u">", u"Y", u"X", u"C", u"V", u"B", u"N", u"M", u";", u":", u"_", u"CLEAR"],
                                [u"SHIFT", u"SPACE", u"OK"]]
                        self.lang = 'en_EN'
@@ -253,7 +253,7 @@ class VirtualKeyBoard(Screen):
        def backClicked(self):
                self.text = self["text"].getText()[:-1]
                self["text"].setText(self.text)
-                       
+
        def okClicked(self):
                if self.shiftMode:
                        list = self.shiftkeys_list