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.
Trying the virtual mouse and quite confused how it should be simulated. I tried
echo "115" "116" "150" "110" | sudo tee /dev/vinput0
andecho -e '\110' | sudo tee /dev/vinput0
but getinvalid argument
on terminal and indmesg | tail
I getInvalid 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?