/asus-stylus-driver

Linux supplement driver which adds support for binding not already bound buttons by the origin driver to something useful. Main target is Asus Pen SA201H but works even for SA200H, .. , Asus Pen 2.0 SA203H and X11/Wayland.

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Asus stylus driver

License: GPLv2 Maintainer GitHub Release GitHub commits Ask Me Anything ! PRs Welcome Hits

Supplement driver which adds support bind not bound buttons by the origin driver for X11/Wayland and allows rebind button events.

If you find the project useful, do not forget to give project a GitHub stars People already did!

Changelog

CHANGELOG.md

Features

  • Laptops with dual screens are supported (credits @Safenein)

TODO:

Setup

Requirements

  • Python 3
  • libevdev

Distro package

Manual

Important

Install script is intended for Debian, Arch and Fedora based distros.

git clone https://github.com/asus-linux-drivers/asus-stylus-driver
cd asus-stylus-driver
sudo ./install.sh

To uninstall, just run:

sudo ./uninstall.sh

Troubleshooting

To activate logger, do in a console:

# local scipt
LOG=DEBUG sudo -E ./src/asus-stylus.py

# global script
LOG=DEBUG sudo -E asus-stylus

Credits

Thank you very much github.com/mohamed-badaoui and all the contributors of asus-touchpad-numpad-driver for your work.

Developing

During debugging remember to disable service / uninstall the already installed version of this driver

Existing similar projects

I do not know any.

Why was this project created? As a supplement driver which adds support bind not bound buttons by the origin driver for X11/Wayland and to allows rebind button events on X11 (Wayland does not allow exclusive input device grabbing so key events would be sent 2 times).