vinput
vinput copied to clipboard
"Invalid input format: x,y,wheel,buttons"
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?
Alternatively, you can try this: https://github.com/thegoldgoat/toccami_driver