Mike Hordecki
Mike Hordecki

Reputation: 97101

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

Upvotes: 2

Views: 372

Answers (1)

lothar
lothar

Reputation: 20209

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.

Upvotes: 2

Related Questions