code: def remap_key(src, dst):
      
      def handler(event):
          if event.event_type == KEY_DOWN:
              press(dst)
          else:
              release(dst)
          return False
      return hook_key(src, handler, suppress=True)
docs: Whenever the key `src` is pressed or released, regardless of modifiers,
      press or release the hotkey `dst` instead.