Skip to contentSkip to conversation

qt5virtualkeyboard: add arrow key navigation build option

PATCH New Sébastien Szymanski 3 participants 3 messages Dec 3, 2018 – Dec 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5virtualkeyboard: add arrow key navigation build option

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

---
 package/qt5/qt5virtualkeyboard/Config.in             | 5 +++++
 package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 4 ++++
 2 files changed, 9 insertions(+)
package/qt5/qt5virtualkeyboard/Config.in +5 -0
index 57b0c703b0..c3f2f37604 100644
@@ -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
package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +4 -0
index 4aa5fc9575..8ce3169774 100644
@@ -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
Signature · 1 line
2.16.4
#1 lore raw

PATCH 1/1 qt5virtualkeyboard: add arrow key navigation build option

Hello S?bastien,

Quoted 27 lines · S?bastien Szymanski

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

---
 package/qt5/qt5virtualkeyboard/Config.in             | 5 +++++
 package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 4 ++++
 2 files changed, 9 insertions(+)
package/qt5/qt5virtualkeyboard/Config.in +5 -0
index 57b0c703b0..c3f2f37604 100644
@@ -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
package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +0 -0
index 4aa5fc9575..8ce3169774 100644

package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk QT5VIRTUALKEYBOARD_LICENSE_FILES += src/virtualkeyboard/3rdparty/lipi-toolkit/MI · line 62

Quoted 10 lines
package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +4 -0
@@ -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

Regards,
Peter

#2 lore raw

PATCH 1/1 qt5virtualkeyboard: add arrow key navigation build option

In reply to Sébastien Szymanski

Hello,

Quoted 7 lines · S?bastien Szymanski

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

---
 package/qt5/qt5virtualkeyboard/Config.in             | 5 +++++
 package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 4 ++++
 2 files changed, 9 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com