I have created a virtual mouse by writing data in /dev/uinput.
However it seems that the data are not the same in /dev/input/eventX (where my mouse is) and /dev/input/mice.
I don't use another mouse.
How is this thing possible?
/dev/input/mice
provides data in the PS/2 mouse protocol.
/dev/input/event*
use the Linux input event interface (struct input_event
structures as described in /usr/include/linux/input.h
).