diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2018-12-03 09:25:09 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-09 17:36:00 +0100 |
commit | 269fa3fa9fd286307424cbe36f259e8d6afb8dfd (patch) | |
tree | 76f7184d88fc463d08c56e49d646c9ab69d9ea0c | |
parent | 694846b92a607856fd3abac30c393aa84c9df589 (diff) | |
download | buildroot-269fa3fa9fd286307424cbe36f259e8d6afb8dfd.tar.gz buildroot-269fa3fa9fd286307424cbe36f259e8d6afb8dfd.zip |
package/qt5/qt5virtualkeyboard: add arrow key navigation build option
It allows controlling the keyboard using the arrow and return keys.
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r-- | package/qt5/qt5virtualkeyboard/Config.in | 5 | ||||
-rw-r--r-- | package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/package/qt5/qt5virtualkeyboard/Config.in b/package/qt5/qt5virtualkeyboard/Config.in index 57b0c703b0..c3f2f37604 100644 --- a/package/qt5/qt5virtualkeyboard/Config.in +++ b/package/qt5/qt5virtualkeyboard/Config.in @@ -53,4 +53,9 @@ config BR2_PACKAGE_QT5VIRTUALKEYBOARD_HANDWRITING Lipi Toolkit (LipiTk) is an open source toolkit for online Handwriting Recognition. +config BR2_PACKAGE_QT5VIRTUALKEYBOARD_ARROW_KEY_NAVIGATION + bool "Arrow key navigation" + help + Allows controlling the keyboard using the arrow and return keys. + endif diff --git a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk index 4aa5fc9575..8ce3169774 100644 --- a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +++ b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk @@ -53,6 +53,10 @@ QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/lipi-toolkit/MI endif endif +ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_ARROW_KEY_NAVIGATION),y) +QT5VIRTUALKEYBOARD_QMAKEFLAGS += CONFIG+=arrow-key-navigation +endif + ifdef QT5VIRTUALKEYBOARD_3RDPARTY_PARTS define QT5VIRTUALKEYBOARD_INSTALL_TARGET_3RDPARTY_PARTS cp -dpfr $(STAGING_DIR)/usr/qtvirtualkeyboard $(TARGET_DIR)/usr |