示例#1
0
 def reset():
     keyboardmanager.unbindKeyDown(scancode=scancode,
                                   keyname=keyname,
                                   text=text,
                                   modifiers=modifiers)
     if text == None:
         keyboardmanager.unbindKeyUp(scancode=scancode,
                                     keyname=keyname,
                                     modifiers=modifiers)
     self.statesRecords = [False, False]
示例#2
0
 def reset():
     keyboardmanager.unbindKeyDown(keyString, modifiers)
     keyboardmanager.unbindKeyUp(keyString, modifiers)
     self.statesRecords = [False, False]
示例#3
0
文件: AppTest.py 项目: JohnChu/libavg
 def reset():
     keyboardmanager.unbindKeyDown(keyString, modifiers)
     keyboardmanager.unbindKeyUp(keyString, modifiers)
     self.statesRecords = [False, False]
 def reset():
     keyboardmanager.unbindKeyDown(scancode=scancode, keyname=keyname, text=text, modifiers=modifiers)
     if text == None:
         keyboardmanager.unbindKeyUp(scancode=scancode, keyname=keyname, modifiers=modifiers)
     self.statesRecords = [False, False]