diff options
author | Elvis Lee <kwangwoong.lee@lge.com> | 2020-09-24 16:54:50 +0900 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-27 23:37:41 +0100 |
commit | 4b899a29fa5a8acc381673e6b527345f8eaad7b5 (patch) | |
tree | 0cf12c82c677f5cab56e26a2984dd7c4f54f38f6 /src/platformsupport/input/CMakeLists.txt | |
parent | fd8e6a203ecfeebc03772b3bce14c91a6fc0a8e1 (diff) |
webOS: Support mapping evdev keyboard and touchscreen to specific window
First we refactor QTouchOutputMapping into a QOutputMapping base class and
a QDefaultOutputMapping subclass, because it will be used to map more kinds
of devices, not only touchscreens.
On WebOS, the plan is to have a custom subclass that overrides an
additional windowForDeviceNode() virtual function, so that events from
specific devices can be sent to specific windows. But in the future,
Qt may have a more generic mechanism for mapping devices to screens,
and of course windows are displayed on screens; so this direct
device->window mapping is likely to be temporary.
In the QT_QPA_EGLFS_KMS_CONFIG JSON configuration, symlinked device
nodes are now supported.
Task-number: QTBUG-85268
Change-Id: Id1f0bb59f4a439abaec6bd35016c95de1cbdb26a
Reviewed-by: Elvis Lee <kwangwoong.lee@lge.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/platformsupport/input/CMakeLists.txt')
-rw-r--r-- | src/platformsupport/input/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/input/CMakeLists.txt b/src/platformsupport/input/CMakeLists.txt index 0d6c3a34ae..12a1b22e9a 100644 --- a/src/platformsupport/input/CMakeLists.txt +++ b/src/platformsupport/input/CMakeLists.txt @@ -91,7 +91,7 @@ qt_internal_extend_target(InputSupport CONDITION QT_FEATURE_evdev OR QT_FEATURE_ SOURCES shared/devicehandlerlist_p.h shared/qevdevutil.cpp shared/qevdevutil_p.h - shared/qtouchoutputmapping.cpp shared/qtouchoutputmapping_p.h + shared/qoutputmapping.cpp shared/qoutputmapping_p.h ) qt_internal_extend_target(InputSupport CONDITION QT_FEATURE_integrityhid |