C
C#•4mo ago
missingo

Disabling keyboard key/mouse click

Howdy, I am wanting to see if there was a way to disable a key or a mouse click input. I am wanting to design something to disrupt during a game to use with Twitch.
3 Replies
Omnissiah
Omnissiah•4mo ago
blocking the inputs system wide?
missingo
missingoOP•4mo ago
yes please 🙂
Omnissiah
Omnissiah•4mo ago
there are apis like BlockInput (https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-blockinput) but probably you need something more specific than that? maybe you need to just block some combinations
BlockInput function (winuser.h) - Win32 apps
Blocks keyboard and mouse input events from reaching applications.
Want results from more Discord servers?
Add your server