コード例 #1
0
ファイル: PiStorms_GRX.py プロジェクト: tizcodex/PiStorms
 def isF4Pressed(self):
     return (GRXCom.getKeyPressValue() == 40)
コード例 #2
0
ファイル: PiStorms_GRX.py プロジェクト: tizcodex/PiStorms
 def isF2Pressed(self):
     return (GRXCom.getKeyPressValue() == 16)
コード例 #3
0
ファイル: PiStorms_GRX.py プロジェクト: tizcodex/PiStorms
 def isF3Pressed(self):
     return (GRXCom.getKeyPressValue() == 24)
コード例 #4
0
ファイル: PiStorms_GRX.py プロジェクト: tizcodex/PiStorms
 def getKeyPressValue(self): # F1-4
     return {0:0, 8:1, 16:2, 24:3, 40:4}[GRXCom.getKeyPressValue()]