qt5base-lts/src/plugins/generic/evdevmouse
Kevin Funk 47c92fbb0b Replace Q_DECL_OVERRIDE with override where possible
Remaining uses of Q_DECL_OVERRIDE are in:

src/corelib/global/qcompilerdetection.h
src/corelib/global/qglobal.cpp
doc/global/qt-cpp-defines.qdocconf
  (definition and documentation of Q_DECL_OVERRIDE)
tests/manual/qcursor/qcursorhighdpi/main.cpp
  (a test executable compilable both under Qt4 and Qt5)

Change-Id: Ib9b05d829add69e98a86238274b6a1fcb19b49ba
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2017-09-19 11:53:42 +00:00
..
evdevmouse.json Migrate evdev plugins to the new plugin system 2012-02-22 09:46:08 +01:00
evdevmouse.pro port to modularized platformsupport libraries 2016-10-15 18:45:41 +00:00
main.cpp Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
README Fix typos 2013-08-06 11:08:49 +02:00

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