In *Discord* there is **no** option to *disable* idle detection, so i want to write a little app which simulates user so that discord and other apps **don't think I'm idle.**

I've tried using Cursor. Position and that teleports the mouse around on the screen but it does not prevent idle detection.

How can i simulate user input in c# windows forms application so as to fool idle detection in discord and other apps?