sysprog21 / vinput

A collection of virtual input device drivers for Linux
GNU General Public License v2.0
32 stars 5 forks source link

"Invalid input format: x,y,wheel,buttons" #3

Open zoe9216 opened 2 years ago

zoe9216 commented 2 years ago

Trying the virtual mouse and quite confused how it should be simulated. I tried echo "115" "116" "150" "110" | sudo tee /dev/vinput0 and echo -e '\110' | sudo tee /dev/vinput0 but get invalid argument on terminal and in dmesg | tail I get Invalid input format: x,y,wheel,buttons which from the code I gathered is shown when sscanf doesn't return four variables.

How do I use it?

jserv commented 1 year ago

Alternatively, you can try this: https://github.com/thegoldgoat/toccami_driver