16

Anyone know how to modify settings for the Apple Magic Trackpad on Windows (without Boot Camp)?

I was able to install the driver and make it work.

However, tap-to-click appears to be on by default, and I think this would work much better if I could turn that off.

The problem with just installing the drivers is you don't get the Boot Camp control panel so you can't adjust settings.

Has anyone figured out where the settings for the trackpad are stored?

slhck
  • 223,558
  • 70
  • 607
  • 592
Jim
  • 161
  • 1
  • 1
  • 3
  • Greetings from a ServerFault refugee. Could someone please use [Sysinternals Process Monitor](http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) 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 Sep 17 '10 at 15:32
  • 1
    Just 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 Sep 17 '10 at 15:40
  • 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 Sep 17 '10 at 16:07
  • Is it perhaps possible to install the Boot Camp Control Panel without actually using a Mac? – Daniel Beck Sep 20 '10 at 05:12
  • @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 Sep 20 '10 at 16:06
  • Folks: 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 Sep 20 '10 at 23:35

3 Answers3

24

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.

rymo
  • 1,058
  • 1
  • 9
  • 19
  • For defaults, minus tap-to-click, use `0x6e` (01101110). For other combinations open the Windows calculator in Programmer mode (under the View menu), click "Bin" on the left, type in the 1s and 0s according to the chart above, then click "Hex" on the left to convert it back and that's what needs to go into the registry. I hope a fellow superuser can help us all out with a nice UI sometime soon..! – rymo Sep 21 '10 at 09:05
  • Excellent. I had to create the registry entry myself since I can't install boot camp, but this did the trick. I can actually use this pad now. – Jim Sep 21 '10 at 15:55
  • However, two-finger scrolling seems to have stopped working. Did this happen to you? – Jim Sep 21 '10 at 16:00
  • Two-finger scrolling still works for me; what setting did you end up saving to the registry? – rymo Sep 21 '10 at 16:41
  • +50 bounty awarded, thanks! I am out of the office today, but I will report back tomorrow on the results. – Miles Erickson Sep 22 '10 at 00:01
  • 1
    This was absolutely perfect, @rymo! Thanks so much. It should be noted that this will not run unless the x86 version of the MS Visual C++ 2010 Redistributable is installed (even if one's system is x64): http://www.microsoft.com/downloads/en/details.aspx?FamilyID=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84 – Miles Erickson Sep 22 '10 at 15:49
  • @Miles: starting with the 0.3 download, the MS Redistributable should no longer be necessary. – rymo Sep 23 '10 at 18:27
  • 1
    Ah, I had used a string and the value "0x6e". Changed it to a DWORD and it's wokring great. Thanks! – Jim Sep 24 '10 at 03:37
  • @Jim "0x" is programmer-speak for "the following string of numbers and/or letters represents a hexadecimal value". – Miles Erickson Sep 24 '10 at 21:19
  • This is brilliant. Thanks a million. This drove me nuts. – Sebastian Sep 29 '10 at 15:16
  • I really, really want to buy you a beer right now. Drag lock was driving me crazy. – Philihp Busby Aug 25 '12 at 00:19
  • Is there a way to make the driver start up with / remember the settings set in the registry (besides running padset.exe via the Autostart folder)? – Lucas Hoepner Mar 14 '14 at 09:33
  • You sir, deserve a medal – Dennis Haarbrink May 14 '14 at 09:02
2

I make a GUI version to make the registry settings. Please check ist out and tell me what you think. But beware it is a beta version. Look here http://www.mannis-world.de/blog/?p=15#more-15

manfred
  • 21
  • 1
0

This is not supported, your best bet is to ask Apple Support but I guess they won't help either...

It seems best to learn the behavior, please note that just touching the track pad to move your mouse does not trigger a tap. A tap only triggers if you touch the track pad fast and remove your finger...

I can move over my desktop shortcuts by continuously moving while jumping my finger without any of the shortcuts being opened, I can only open them when I do a fast tap (or click a mouse button if present).

Tamara Wijsman
  • 57,083
  • 27
  • 185
  • 256
  • @Jim and I are struggling to change our *behavior*, but we really want to change the *setting*. Apple Support is not our best bet because the Magic Trackpad is not officially compatible with PCs. – Miles Erickson Sep 20 '10 at 23:45