r/C_Programming • • Aug 10 '26

Mouse & Keyboard suppression?

Is there a possibility to only block the inputs of the keyboard and Mouse to one application?

Because i want that the application only takes the inputs of an Emulated Controller, but it only recognise the Controller, if there any Mouse or Keyboard activity (but i still need the Mouse/Keyboard for the Emulated Controller)

Any Advice for me?
The code i use to make the emulated Controller is C…

0 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/flyingron Aug 10 '26

Other than the spurious prints to cout there's not really any C++ in that example code.