| 1 |
Generic plug-in for relative evdev pointer events. |
| 2 |
|
| 3 |
To use it, launch apps with -plugin EvdevMouse |
| 4 |
|
| 5 |
The plug-in will try to pick a mouse or touchpad device from udev. |
| 6 |
If automatic detection does not work, use -plugin |
| 7 |
EvdevMouse:/dev/input/eventN to explicitly set the device node. |
| 8 |
|
| 9 |
The initial cursor position is assumed to be (0, 0). Relative events |
| 10 |
will generate Qt mouse events with screen positions relative to this |
| 11 |
initial position. |
| 12 |
|
| 13 |
Touchpads reporting absolute events will work too, the positions will |
| 14 |
be turned into relative. Touchscreens are however not supported. |
| 15 |
|
| 16 |
On development machines it might be useful to add the input devices |
| 17 |
to a group that your development user is part of. I.e. add: |
| 18 |
KERNEL=="event*", SUBSYSTEM=="input", MODE="0640", GROUP="users" |
| 19 |
|
| 20 |
to a file such as: |
| 21 |
/etc/udev/rules.d/10-local.rules |
| 22 |
|