I would like to find out what APIs I will need to turn off the touchpad.
I did a search of "disable device" here and the old forum.
Andy
most laptops have an OEM setup program that allows you to disable the touchpad
if you don't have it already installed, likely you can download it from the mfg site
Quote from: Magnum on November 18, 2012, 02:05:44 AM
I would like to find out what APIs I will need to turn off the touchpad.
I did a search of "disable device" here and the old forum.
Andy
Actually... take a look in your control panel, mouse settings... often there's an option to disable the touchpad when a mouse is plugged into a USB port.
If that's not what you want... go to Control Panel -> Device Manager ... find the touchpad on that list... Right Click -> Properties and select "Do not use this device".
I want to do it programatically.
I installed a device driver kit and am working on some code now.
Andy
Is it a Synaptics touchpad? Some info here (http://www.synaptics.com/developers/manuals) but it uses COM.
Other suggestions I found used WMI, possibly even worse than COM :biggrin:
Thanks sinsi. I will see where this leads me. :t
I tried devcon to disable it, this will be one of those long learning moments.
Andy
4.1. Command set
The Synaptics TouchPad accepts the full standard PS/2 "mouse" command set. This section describes the mouse commands, along with any special properties of those commands as they are implemented on the Synaptics TouchPad:
• $FF Reset
• $FE Resend
• $FC Error
• $FA Acknowledge
• $F6 Set Defaults
• $F5 Disable
Those PS/2 commands are sent via the OUT instruction, that needs a driver - no in/out from userland.
Apparently devcon has trouble on 64-bit windows, the ddk is supposed to have the source code.
It's just a wrapper for a lot of setup api functions. I will have a look through my iso's for the source.
Thanks sinsi.
I have the source code from the Synoptics.
Trying to figure out these messages. I am using Dev C++ which seems like a pretty good program.
16 0 C:\z_keep\SynKit.h In file included from C:\z_keep\SynKit.h
7 C:\z_keep\Disabler.cpp from C:\z_keep\Disabler.cpp
6 20 C:\z_keep\SynWraps.h comdef.h: No such file or directory.
QuoteOther suggestions I found used WMI, possibly even worse than COM
WMI uses COM, so yah - but it's not that bad :P
Edgar and Erol have both done some WMI examples - if you look in the old forum
also, i use qWord's macros for COM - makes things pretty simple
of course, those guys make everything look easy - lol
I installed VC++ since that is what my code is designed for, but it's kinda slow.
I tried to set my source code directory, and it can't even see a .cpp file. :dazzled:
Then VC loads up a call home prog without permission and changed my default for open asm files.
That's O.K, they did good with XP. :-)
Andy
Hi Magnum,
You would like to visit Japheth's COM & Assembly page :
http://japheth.de/COMnASM.html
Japheth has a deep understanding of COM, he's an expert of this area.