Exemplo n.º 1
0
 def isF4Pressed(self):
     return (GRXCom.getKeyPressValue() == 40)
Exemplo n.º 2
0
 def isF2Pressed(self):
     return (GRXCom.getKeyPressValue() == 16)
Exemplo n.º 3
0
 def isF3Pressed(self):
     return (GRXCom.getKeyPressValue() == 24)
Exemplo n.º 4
0
 def getKeyPressValue(self): # F1-4
     return {0:0, 8:1, 16:2, 24:3, 40:4}[GRXCom.getKeyPressValue()]