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
blocking the inputs system wide?
yes please 🙂
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.