Grabbing keyboard and mouse input
Hi guys,
I am trying to write a C program that will grab all keyboard and mouse input and do nothing with them until you press f9. Where my main problem is when you type certain combinations like: ctrl+alt+delete, etc…
I want it so it will totally ignore everything until f9 is pressed.
I have tried the ioctl function and a couple others but no luck.
Can anyone help me get started with what functions to use or maybe some code example.
Thanks in advance.
|