Skip to content

Simulate middle-button clicks using three-finger taps even under custom shells; based on github.com/emoacht/RawInput.Touchpad

License

Notifications You must be signed in to change notification settings

a-l-r1/windows-custom-shell-three-finger-tap-enabler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Custom Shell Three Finger Tap Enabler

This program enables reasonable 3-finger tap behavior using Precision Touchpads when under a custom shell or such a shell launched by CustomShellHost, because it was rendered inoperational for an unknown reason, possibly due to the UWP infrastructure.

It uses the raw input APIs, bypassing the generic Precision Touchpad architecture, and its behavior could be easily customized (see source code). Also, raw input APIs are standard, therefore more stable and likely to survive Windows updates.

TL;DR: 3+ finger taps only worked in the Explorer shell in recent Windows 10+ versions, and this program aims to fix it.

It is a hack of https://github.com/emoacht/RawInput.Touchpad, and is under the same license.

To enable reasonable 3-finger tap behavior, just run the program and put it in the background. The main window contains some simple logs for debugging.

The original README is below.


RawInput Touchpad

Sample to capture inputs from Precision Touchpad by Raw Input API. This is C# implementation which basically follows C++ function of TouchpadGestures Advanced by @kamektx to parse inputs from Touchpad including each contact point. Also, RawInput.Sharp by @mfakane is well sophisticated C# implementation and great help to understand this API. Many thanks!

Requirements

  • .NET 5.0

Example

When five fingers are touching the touchpad of Surface Pro 4 Type Cover, five contacts appear with each coordinates.

Screenshot

License

  • MIT License

About

Simulate middle-button clicks using three-finger taps even under custom shells; based on github.com/emoacht/RawInput.Touchpad

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%