qt6-bb10/src/plugins/generic/evdevmouse
Liang Qi 50d0f57b77 Merge remote-tracking branch 'origin/5.6' into 5.7
This change partially reverts 1bfc7f68 about QT_HAS_BUILTIN define
and undef in src/corelib/tools/qsimd_p.h.

This change is also squashed with "Fall back to c++11 standard
compiler flag for host builds" which is done by Peter Seiderer.

Conflicts:
	mkspecs/features/default_post.prf
	src/3rdparty/sqlite/0001-Fixing-the-SQLite3-build-for-WEC2013-again.patch
	src/3rdparty/sqlite/sqlite3.c
	src/corelib/tools/qsimd_p.h
	src/gui/kernel/qevent.cpp
	src/gui/kernel/qwindowsysteminterface.cpp
	src/gui/kernel/qwindowsysteminterface_p.h
	src/plugins/bearer/blackberry/blackberry.pro
	src/plugins/platforms/cocoa/qcocoasystemsettings.mm
	src/plugins/platformthemes/gtk2/gtk2.pro
	src/plugins/styles/bb10style/bb10style.pro
	src/sql/drivers/sqlite2/qsql_sqlite2.cpp
	tools/configure/configureapp.cpp

Task-number: QTBUG-51644
Done-with: Peter Seiderer <ps.report@gmx.net>
Change-Id: I6100d6ace31b2e8d41a95f0b5d5ebf8f1fd88b44
2016-03-11 20:08:50 +01:00
..
README Fix typos 2013-08-06 11:08:49 +02:00
evdevmouse.json Migrate evdev plugins to the new plugin system 2012-02-22 09:46:08 +01:00
evdevmouse.pro consistently put {qt,qml}_{module,plugin} at the end of project files 2016-03-07 14:09:49 +00:00
main.cpp Updated license headers 2016-01-15 12:25:24 +00:00

README

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