def bindKeys(): keyboardmanager.bindKeyDown( scancode=scancode, keyname=keyname, text=text, help="", modifiers=modifiers, handler=keyDownPressed ) if text == None: keyboardmanager.bindKeyUp(scancode=scancode, keyname=keyname, modifiers=modifiers, handler=keyUpPressed) else: self.statesRecords[1] = True
def bindKeys(): keyboardmanager.bindKeyDown(scancode=scancode, keyname=keyname, text=text, help='', modifiers=modifiers, handler=keyDownPressed) if text == None: keyboardmanager.bindKeyUp(scancode=scancode, keyname=keyname, modifiers=modifiers, handler=keyUpPressed) else: self.statesRecords[1] = True
def bindKeys(): keyboardmanager.bindKeyDown(keyString, keyDownPressed, '', modifiers) keyboardmanager.bindKeyUp(keyString, keyUpPressed, '', modifiers)