I was wondering how you can disable the mouse and certain keys in C.
I want to write a program which has a lock. Meaning: if you enter the correct password, the mouse and keyboard are reacting again, but as long as it is locked, only the character keys and the <enter> key are possible to use, this to enter the password.
I know these types of programs exist, but I want to write one for my own..
Thanks in advance for replying