C
C#•4w 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
unhAPI
unhAPI•4w ago
blocking the inputs system wide?
missingo
missingo•4w ago
yes please 🙂
unhAPI
unhAPI•3w 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