PDA

Click to See Complete Forum and Search --> : How to detect if mouse/keyboard are disconnected from the CPU physically ?


lapoorpo
May 15th, 2000, 02:42 PM
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

sparkle52988
May 19th, 2000, 11:46 PM
I don't know how to do it, but why do you want to detect if the mouse and keyboard are connected? Email me at Compunerd88@aol.com