Touchpad access in Linux
The problem is: How to access x,y,z coordinates of my touchpad?
Now that SHMConfig is disabled by default, I've found out that, in order to do it, I need to access a file from /dev/input/. Those files are, sadly,开发者_如何学JAVA readable by root only. Is there any way to access the touchpad while in user-mode?
Usually you access the pointing devices via the X11 system and the X11 XInput extension. Only the X11 server will access the /dev/input file. The X11 server will allow many applications to share the input devices in a controlled manner.
You can find out what pointing devices are available with List X11 input devices and you can change which device is the (current) X pointer with Change the pointer device.
精彩评论