This is a simple python script that converts touchpad to graphics tablet...
⚠️ Still this is in /prototype/ phase and still require root privilages... use this AT YOUR OWN RISK... i am not getting time to work on this (need to rewrite this in rust or c)... :warning: NO support for wayland(yet)
clone this repo
git clone https://github.com/Vaisakhkm2625/touchpaddraw.git
or
git clone [email protected]:Vaisakhkm2625/touchpaddraw.git
install evtest
Run sudo evtest
and find the event of your touchpad
/dev/input/event8: MSFT0001:01 06CB:CE2D Touchpad
means you have event8
install python packages
sudo pip install evdev
sudo pip install pynput
(if you are not able to install, see: gvalkov/python-evdev#164)
TODO: (libevdev or evdev)
then run
sudo python main.py -d event8
accouding to your event number