-
Hi there,
I've been trying this for weeks now. I've tried using the GetDeviceStatus() function from the DirectInput class of the Directx7 object that by right should return if a device created is attached to the system physically or not ? But it just doesn't work, where it always returns as true even if the device (mouse/keyboard) is not attached to the system (CPU) physically.
Please helppppp!!!!!!
Regards
Jps
-
This is simply not possible. Try unplugging your keyboard and starting your computer - it'll beep and say "Keyboard error - press F1 to continue." (Some BIOSes are smart and prepend "Keyboard not found or"). In user mode, you simply do not have the necessary control of the system to accomplish this.