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/shared/shared.pri | |
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/shared/shared.pri')
-rw-r--r-- | src/platformsupport/input/shared/shared.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platformsupport/input/shared/shared.pri b/src/platformsupport/input/shared/shared.pri index c29d11e7d6..73eb38c9da 100644 --- a/src/platformsupport/input/shared/shared.pri +++ b/src/platformsupport/input/shared/shared.pri @@ -1,8 +1,8 @@ HEADERS += \ $$PWD/devicehandlerlist_p.h \ $$PWD/qevdevutil_p.h \ - $$PWD/qtouchoutputmapping_p.h + $$PWD/qoutputmapping_p.h SOURCES += \ $$PWD/qevdevutil.cpp \ - $$PWD/qtouchoutputmapping.cpp + $$PWD/qoutputmapping.cpp |