class NumericalTextInput:
mapping = []
- mapping.append (".,?'\"0") # 0
+ mapping.append (".,?'\"0-()@/:_") # 0
mapping.append (" 1") # 1
mapping.append ("abc2ABC") # 2
mapping.append ("def3DEF") # 3
mapping.append ("pqrs7PQRS") # 7
mapping.append ("tuv8TUV") # 8
mapping.append ("wxyz9WXYZ") # 9
-
-
-
- def __init__(self, nextFunction):
+ def __init__(self, nextFunction = None):
self.nextFunction = nextFunction
self.Timer = eTimer()
self.Timer.timeout.get().append(self.nextChar)
self.Timer.stop()
print "Timer done"
self.nextKey()
- self.nextFunction()
+ if (self.nextFunction != None):
+ self.nextFunction()
\ No newline at end of file