Mac-precision-touchpad: Force Touch

Created on 19 Jul 2018  路  6Comments  路  Source: imbushuo/mac-precision-touchpad

Force touch exposes additional HID collections to the host OS (accelerometer and actuator). On USB-based trackpad, they are recognized by default, but no OS support is implemented. On SPI-based trackpad, another miniport driver is required to make it available to host OS.

See if we have applicable scenarios for Force Touch on Windows.

enhancement

Most helpful comment

It could be used as right click, folder&file rename, middle mouse button for opening in new tab etc.
Or if we could set a virtual key code from like regedit or an .ini file, that would be nice.

All 6 comments

Will be tracked in AB#635.

Force touch structure:
14-bytes packed structure

typedef struct _HAPTIC_FEEDBACK {
    USHORT Magic;
    UINT Strength;
    int X;
    int Y;
} HAPTIC_FEEDBACK, *PHAPTIC_FEEDBACK;

It exists as a dedicated HID device on MI_03 (Magic Trackpad 2) or MI_02 (others). Tap test works fine but I don't have idea about usable scenarios on Windows.

It could be used as right click, folder&file rename, middle mouse button for opening in new tab etc.
Or if we could set a virtual key code from like regedit or an .ini file, that would be nice.

Middle click +1 this would solve a lot of my issues. Middle-button drag would work (used in my uml diagraming software), I could also use the same functionality as in macos with middle clicking links to open in new tabs.

Is more than one button force touch recognizable? Ex. can you distinguish between one button force touch and two or three button force touch?

Hey @imbushuo, looked at your feedback test program but couldn't understand how to get accelerator reports from trackpad with applied force values. Is it possible? Could you please point me to the place where I can read about that?

@zzFluke Force value retrieved from touchpad HID collection, the accelerator seems unknown to me. Actuator is used for haptic.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jourdant picture jourdant  路  3Comments

markreg picture markreg  路  3Comments

chaopeng picture chaopeng  路  6Comments

mau-lopez picture mau-lopez  路  3Comments

ericdhkim picture ericdhkim  路  3Comments