Reorganize evdev plugins
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sun, 5 Feb 2012 11:32:40 +0000 (13:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 8 Feb 2012 02:13:18 +0000 (03:13 +0100)
commit684a1559f0de4354cd9427e4c9a86e4a6a4e238a
treedf297299e0a3683977a7fbee8dd9c345cfebc368
parent009cd671ec5a51ab360bce39262482ee1b86dc46
Reorganize evdev plugins

linuxinput becomes evdevmouse. The experimental touch code is removed,
now the plugin's purpose is solely to generate mouse events from
absolute and relative pointer events.  The plugin key is EvdevMouse.

touchscreen becomes evdevtouch. The plugin key is EvdevTouch.

In case keyboard support appears some day, it will fit nicely in the
system by the name of evdevkeyboard or similar.

Some little udev code is moved to platformsupport so it can be shared
between the plugins. This may be extended later if more sophisticated
udev support is needed. N.B. the intention is to keep this as simple
as possible. We are shipping these plug-ins as reference examples, not
as full-featured drivers.

evdev and udev support has configure time tests from now on. This
means the "drivers" (generic plugins) will get built automatically
when the support is available.

Change-Id: Iaf6260b5c2edfb9f25d070d2764466725adc6b4e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
26 files changed:
config.tests/unix/evdev/evdev.cpp [new file with mode: 0644]
config.tests/unix/evdev/evdev.pro [new file with mode: 0644]
config.tests/unix/libudev/libudev.cpp [new file with mode: 0644]
config.tests/unix/libudev/libudev.pro [new file with mode: 0644]
configure
src/platformsupport/platformsupport.pro
src/platformsupport/udev/qudevhelper.cpp [new file with mode: 0644]
src/platformsupport/udev/qudevhelper_p.h [moved from src/plugins/generic/touchscreen/qtoucheventsenderqpa.h with 66% similarity]
src/platformsupport/udev/udev.pri [new file with mode: 0644]
src/plugins/generic/evdevmouse/README [new file with mode: 0644]
src/plugins/generic/evdevmouse/evdevmouse.pro [new file with mode: 0644]
src/plugins/generic/evdevmouse/main.cpp [moved from src/plugins/generic/linuxinput/main.cpp with 77% similarity]
src/plugins/generic/evdevmouse/qevdevmouse.cpp [new file with mode: 0644]
src/plugins/generic/evdevmouse/qevdevmouse.h [moved from src/plugins/generic/linuxinput/qlinuxinput.h with 77% similarity]
src/plugins/generic/evdevtouch/70-qtouchscreen.rules [moved from src/plugins/generic/touchscreen/70-qtouchscreen.rules with 100% similarity]
src/plugins/generic/evdevtouch/README [new file with mode: 0644]
src/plugins/generic/evdevtouch/evdevtouch.pro [new file with mode: 0644]
src/plugins/generic/evdevtouch/main.cpp [moved from src/plugins/generic/touchscreen/main.cpp with 81% similarity]
src/plugins/generic/evdevtouch/qevdevtouch.cpp [moved from src/plugins/generic/touchscreen/qtouchscreen.cpp with 80% similarity]
src/plugins/generic/evdevtouch/qevdevtouch.h [moved from src/plugins/generic/touchscreen/qtouchscreen.h with 80% similarity]
src/plugins/generic/generic.pro
src/plugins/generic/linuxinput/linuxinput.pro [deleted file]
src/plugins/generic/linuxinput/qlinuxinput.cpp [deleted file]
src/plugins/generic/touchscreen/README [deleted file]
src/plugins/generic/touchscreen/qtoucheventsenderqpa.cpp [deleted file]
src/plugins/generic/touchscreen/touchscreen.pro [deleted file]