summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic/evdevmouse/README
blob: c0dd3db8b3941bb63f99d63483c53f54892b8ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Generic plug-in for relative evdev pointer events.

To use it, launch apps with -plugin EvdevMouse

The plug-in will try to pick a mouse or touchpad device from udev.
If automatic detection does not work, use -plugin
EvdevMouse:/dev/input/eventN to explicitly set the device node.

The initial cursor position is assumed to be (0, 0). Relative events
will generate Qt mouse events with screen positions relative to this
initial position.

Touchpads reporting absolute events will work too, the positions will
be turned into relative. Touchscreens are however not supported.

On development machines it might be useful to add the input devices
to a group that your development user is part of. I.e. add:
KERNEL=="event*", SUBSYSTEM=="input", MODE="0640", GROUP="users"

to a file such as:
/etc/udev/rules.d/10-local.rules