anothertest
anothertest

Reputation: 979

uinput virtual device and /dev/input/mice

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?

Upvotes: 0

Views: 1109

Answers (1)

Nominal Animal
Nominal Animal

Reputation: 39416

/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).

Upvotes: 2

Related Questions