diff options
author | Elvis Lee <kwangwoong.lee@lge.com> | 2020-11-04 17:34:05 +0900 |
---|---|---|
committer | Elvis Lee <kwangwoong.lee@lge.com> | 2020-11-09 22:04:21 +0900 |
commit | 47bcc4dd4bc9f4c4d9e9e6f3198424105385994a (patch) | |
tree | 3ffa3cd11c8bd2e818928dc753ca415cf0e59c2c /src/plugins/platforms/eglfs | |
parent | 04413b9dd8f3983fd5471354a48ad1257ca4f290 (diff) |
Support customized device discovery with udev
With derived class from QDeviceDiscoveryUDev, eglfs for a platform
can create own input handlers.
Task-number: QTBUG-85268
Change-Id: Ib8e99b365195eff9540e7c90e14c5d269d37ad86
Reviewed-by: Elvis Lee <kwangwoong.lee@lge.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/api/qeglfsintegration_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h b/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h index 5ba24b107a..bba1f2843f 100644 --- a/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h +++ b/src/plugins/platforms/eglfs/api/qeglfsintegration_p.h @@ -125,16 +125,18 @@ public: void switchLang() override; #endif +protected: + virtual void createInputHandlers(); + QEvdevKeyboardManager *m_kbdMgr; + private: EGLNativeDisplayType nativeDisplay() const; - void createInputHandlers(); EGLDisplay m_display; QPlatformInputContext *m_inputContext; QScopedPointer<QPlatformFontDatabase> m_fontDb; QScopedPointer<QPlatformServices> m_services; QScopedPointer<QFbVtHandler> m_vtHandler; - QEvdevKeyboardManager *m_kbdMgr; QPointer<QWindow> m_pointerWindow; bool m_disableInputHandlers; }; |