def _processKeyboardEvent(self, event): keyboardEvent = input_event.KeyboardEvent(event) if not keyboardEvent.is_duplicate: debug.println(debug.LEVEL_INFO, "\n%s" % keyboardEvent) rv = keyboardEvent.process() # Do any needed xmodmap crap. Hopefully this can die soon. from orca import orca orca.updateKeyMap(keyboardEvent) return rv