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]
def reset(): keyboardmanager.unbindKeyDown(keyString, modifiers) keyboardmanager.unbindKeyUp(keyString, modifiers) self.statesRecords = [False, False]