code: def install_handle_input(self):
          
          self.pointer = self.get_fptr()
  
          self.hooked = ctypes.windll.user32.SetWindowsHookExA(
              13,
              self.pointer,
              ctypes.windll.kernel32.GetModuleHandleW(None),
              0
          )
          if not self.hooked:
              return False
          return True
docs: Install the hook.