Skip to content

Enables tap-to-click when running Windows on a Google Pixelbook

Notifications You must be signed in to change notification settings

TheOkayJK/Eve.TapToClick

 
 

Repository files navigation

Eve.TapToClick - Modified

This is a simple program that enables tap-to-click on the touchpad when running Windows 10 or 11 on a Google Pixelbook. I have modified the a fork of the original so that the touchpad is disabled when in tablet mode and I tweaked a couple of other things as well. Enjoy!

Instructions

  1. Uninstall any previous version you have.
  2. Download the latest release from here: Latest Release
  3. I Strongly suggest changing the settings indicated by the obnoxious red box to 0. They should be 0 by default but depending on the version you had installed previously it the values may differ by default so I suggest double checking.

4. I also reccomend checking the "Run at Startup" box.

TODO

  1. Auto disable touchpad while typing (Only while key is pressed or for a short time after as well??)
  2. New Icon?
  3. Better design?
  4. Incorporate other pixelbook specific annoyances like keyboard backlight or screen brightness??
  5. ????

Screenshots

Thanks to MrChromebox's efforts, Windows 10 can now be installed and works pretty well on the Pixelbook. One of the few issues is that native tap-to-click does not work. For now, this program serves as a workaround.

This app uses Windows' raw input API to access the touchpad's raw data, such as the pressure and X/Y readings. Using this data, it determines when a tap has occurred then injects the click input.

It allows some configuration, such as the pressure thresholds as well as the maximum time/distance for an input to be considered a tap.

Currently, only single-finger tap (for left click), double-finger tap (for right click), and triple-finger tap (for middle click) are implemented. Double tap and drag has also been implemented.

Additionally, the Eve Windows 10 driver sometimes misses movements and doesn't respond to a touch. A workaround has been implemented to detect when a single touch has moved but the mouse has not updated, and will continuously update the mouse position to match.

If you have issues or questions, open an issue and I'll try to help you out. If you want to improve it, feel free to open a pull request.

Important

For best results, run this program as administrator. Otherwise, some applications (I think ones that are run as administrator) will ignore the injected inputs.

It is possible anti-virus apps may block the app from injecting mouse clicks. This is because some malware uses the same method to maliciously control a victim PC. You may need to "allow" this program in your anti-virus software.

I do not recommend using this when playing games that use anti-cheat features. While I can't be completely sure, I suspect some anti-cheat software will flag the injected inputs as macroing software. If you get a ban because of this, I'm not responsible.

How to use

Just download the latest release, then unzip it and run the installer. After installation, run the program from the start menu. You can set the program to auto-start on system startup from the configuration tab.

Configuration

Value Name Description/What it does
Min Pressure Detection Threshold The minimum pressure reading that must be read to consider the contact "active". Anything below this pressure is completely ignored. This should be as low as possible, but setting it too low (i.e. 1) can cause the X/Y position readings to come back with high variance. This may push what should have been a tap over the max distance threshold.
Tap Pressure Threshold The minimum pressure that must be met to consider the input a tap.
Max Tap Milliseconds The maximum time a contact can be active and it still be considered a tap.
Max Tap Distance The maximum distance the contact can move and it still be considered a tap.
Double Tap and Drag Gap Milliseconds The maximum number of milliseconds to wait after a single tap to see if the user is double tapping to drag. If a single tap isn't followed by a second touch in this amount of time, the tap will be executed. If double tap drag is not used, set this to 0 to make single taps more responsive.
Missed Movement Milliseconds The number of milliseconds to wait after a touch to look for mouse movement when determining if a movement was missed. Set this longer if it is falsely triggering.
Missed Movement Scale The scale factor to reduce the mouse movement speed by since the touchpad is higher resolution than the screen.

Basically, for an input to be considered a tap, it needs to exceed the minimum pressure, then reach the tap pressure, then fall back below the minimum pressure within the max tap milliseconds while not traveling farther than the max tap distance.

About

Enables tap-to-click when running Windows on a Google Pixelbook

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%