def unhook_all():
_listener.start_if_necessary()<EOL>_listener.blocking_keys.clear()<EOL>_listener.nonblocking_keys.clear()<EOL>del _listener.blocking_hooks[:]<EOL>del _listener.handlers[:]<EOL>unhook_all_hotkeys()<EOL>
Removes all keyboard hooks in use, including hotkeys, abbreviations, word
listeners, `record`ers and `wait`s.