c++ Stylus Out Detection [SOLVED]
Does anyone know how to detect if the stylus is out using c++ WITHOUT using the registry?
The registry is not always accurate.
example:
if the stylus is out when the Touch Pro turns off (like if you soft reset with the stylus) and then you replace it before the OS is fully up and operational, according to the registry the stylus is still out - even though the stylus is in. If you remove the stylus and then put it back, then the registry is correct from that point forward.
HKCU\ControlPanel\Keybd\StylusOutStatus
Edit: SOLVED
no2chem has a dll called nueGPIO.dll in his nueSIPStylus program which has a function to query gpio 0x25 which detects if the stylus is in the slot.
THANKS NO2CHEM!!!!!!
Last edited by Cobaltikus; 05-01-2009 at 12:27 AM.
Reason: c++ Stylus Out Detection [SOLVED]
|