Skip to content

force libinput to emulate a middle click when pressing left and right buttons simultaneously

License

Notifications You must be signed in to change notification settings

Nicronics/libinput-force-tap-to-click

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libinput-force-tap-to-click

Force libinput to enable Tap-to-click for touchpad. This allows Wayland compositors (that do not expose libinput configuration) to configure the existing libinput functionality.

Installation

Build hook.so then configure libinput to LD_PRELOAD it:

make
echo 'export LD_PRELOAD="$LD_PRELOAD /path/to/hook.so"' | sudo tee -a /etc/profile.d/libinput.sh

Log out and log in to enable.

References

License

  • MIT

About

force libinput to emulate a middle click when pressing left and right buttons simultaneously

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.0%
  • Makefile 16.0%