Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] qt5virtualkeyboard: add arrow key navigation build option
@ 2018-12-03  8:25 Sébastien Szymanski
  2018-12-07 19:28 ` Peter Seiderer
  2018-12-09 16:36 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Sébastien Szymanski @ 2018-12-03  8:25 UTC (permalink / raw)
  To: buildroot

It allows controlling the keyboard using the arrow and return keys.

Signed-off-by: S?bastien Szymanski <sebastien.szymanski@armadeus.com>
---
 package/qt5/qt5virtualkeyboard/Config.in             | 5 +++++
 package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 4 ++++
 2 files changed, 9 insertions(+)

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
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-09 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-03  8:25 [Buildroot] [PATCH 1/1] qt5virtualkeyboard: add arrow key navigation build option Sébastien Szymanski
2018-12-07 19:28 ` Peter Seiderer
2018-12-09 16:36 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox