2

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, readable by root only. Is there any way to access the touchpad while in user-mode?

Mike Hordecki
  • 92,113
  • 3
  • 26
  • 27

1 Answers1

2

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.

lothar
  • 19,853
  • 5
  • 45
  • 59