I can see that both /dev/uinput and /dev/input exist in my Ubuntu and they are similiar. They can be used to detect/simulate the key/mouse/touch event. So I am confused of what the difference is between them? Thanks!
New added:
Yes, I know that /dev/input is a directory and it contains like event0~6, and some of them is key/mouse/touch or other thing. I still want to know why uinput and input/eventX exsit together. Why and is there any difference?
/dev/uinput probably stands for “user input”. On mine, /dev/input is a directory, containing event catchers