Attaching a debugger to the BootCamp control panel, one can see that the settings are written with an IOCTL
of the format CTL_CODE(FILE_DEVICE_MOUSE, 0x801, METHOD_BUFFERED, FILE_ANY_ACCESS)
. The data written matches what is found in the Windows Registry at HKEY_CURRENT_USER\Software\Apple Inc.\Trackpad\Mode
. I've determined the format of this entry to be:
0 1 1 0 1 1 1 1 0x6F
| | | | | | | |
| | | | | | | tap to click
| | | | | | dragging
| | | | | drag lock
| | | | [reserved, always 1]
| | | [reserved, always 0]
| | secondary tap
| secondary click
bottom left (0 for bottom right)
I wrote a quick program that will read this registry entry and write the settings to the \\.\AppleWirelessTrackpad
device. Download it here (source code available, contributions welcome). Someone with Windows programming experience could add a nice UI and have it run as a service to detect and initialize when the device is [re]connected.
For my personal setup I manually changed the registry setting (0x6b: defaults, minus drag lock!) and run this program as a Windows Scheduled Task (at login). On the rare occasion that the pad loses sync between reboots, I just run the program again manually to refresh the settings.
Here is a sample registry file, save as plain text then double-click to apply:
File disableTapToClick.reg
:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Apple Inc.\Trackpad]
"Mode"=dword:0000006e
Additional sample registry files available on the downloads page.
Greetings from a ServerFault refugee. Could someone please use Sysinternals Process Monitor to see exactly what gets changed when tapping is disabled in the Boot Camp Control Panel on a Mac running Windows, and then let us know with an answer here? I'm tossing a +50 bounty into the ring for good measure. (I have a real Mac at home, but I run Windows in VMs instead of natively, and I'd really rather not go to all the trouble of setting up a Boot Camp partition just to figure this out.)
– Miles Erickson – 2010-09-17T15:32:54.6001Just for clarity: the context in which I'm struggling to disable tap-to-click involves the use of a Magic Trackpad on a Dell PC at work. – Miles Erickson – 2010-09-17T15:40:25.270
Interestingly, HKCU\Software\Apple Inc.\Trackpad does not appear in the registry when the driver is installed but the Boot Camp Control Panel isn't. – Miles Erickson – 2010-09-17T16:07:52.353
Is it perhaps possible to install the Boot Camp Control Panel without actually using a Mac? – Daniel Beck – 2010-09-20T05:12:30.397
@Daniel It is possible to install the Boot Camp Control Panel on a PC, but it fails to launch when attempting to access "startup disk information"; see jrr's narrative: http://superuser.com/questions/170044/how-can-i-install-an-apple-magic-trackpad-on-a-pc-without-boot-camp
– Miles Erickson – 2010-09-20T16:06:24.383Folks: the winner of the bounty will be the first person to answer Jim's original question: where is the tap-to-click setting for the Windows version of the Magic Trackpad driver stored? What registry settings and/or files change when tap-to-click is disabled in the Boot Camp Control Panel? – Miles Erickson – 2010-09-20T23:35:23.600