This is a simple python script that converts touchpad to graphics tablet
clone this repo
git clone https://github.com/Vaisakhkm2625/touchpaddraw.git
Install these dependencies:
python3libevdevpython3-evdevdotool
python main.pyIn case auto-selection of devices is not working,
you can use -i for interactive devices selection menu
also, there is a "toggle-script":
./toggle.sh <device>@MeexReay's sway config uses it like this:
bindsym $mod+Shift+g exec bash -c "cd $HOME/touchpaddraw && ./toggle.sh touchpad"
nix run github:Vaisakhkm2625/touchpaddraw
