Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.05 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.05 KB

Touchpaddraw

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)

Demo

demo yt video for touchpad draw

how to use

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