summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/qt/Config.in1
-rw-r--r--package/qt/Config.keyboard.in21
-rw-r--r--package/qt/qt.mk32
3 files changed, 54 insertions, 0 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in
index ad5b543121..7d9f6f97fe 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -259,6 +259,7 @@ source "package/qt/Config.sql.in"
if BR2_PACKAGE_QT_GUI_MODULE
source "package/qt/Config.gfx.in"
source "package/qt/Config.mouse.in"
+source "package/qt/Config.keyboard.in"
endif
config BR2_PACKAGE_QT_PHONON
diff --git a/package/qt/Config.keyboard.in b/package/qt/Config.keyboard.in
new file mode 100644
index 0000000000..7d169a14b4
--- /dev/null
+++ b/package/qt/Config.keyboard.in
@@ -0,0 +1,21 @@
+menu "Keyboard drivers"
+
+config BR2_PACKAGE_QT_KEYBOARD_TTY
+ bool "tty"
+
+config BR2_PACKAGE_QT_KEYBOARD_USB
+ bool "usb"
+
+config BR2_PACKAGE_QT_KEYBOARD_SL5000
+ bool "sl5000"
+
+config BR2_PACKAGE_QT_KEYBOARD_YOPY
+ bool "yopy"
+
+config BR2_PACKAGE_QT_KEYBOARD_VR41XX
+ bool "vr41xx"
+
+config BR2_PACKAGE_QT_KEYBOARD_QVFB
+ bool "qvfb"
+
+endmenu
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index e4a354d8f5..4b6876ff03 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -147,6 +147,38 @@ else
QT_CONFIGURE += -no-mouse-qvfb
endif
+### Keyboard drivers
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_TTY),y)
+QT_CONFIGURE += -qt-kbd-tty
+else
+QT_CONFIGURE += -no-kbd-tty
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_USB),y)
+QT_CONFIGURE += -qt-kbd-usb
+else
+QT_CONFIGURE += -no-kbd-usb
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_SL5000),y)
+QT_CONFIGURE += -qt-kbd-sl5000
+else
+QT_CONFIGURE += -no-kbd-sl5000
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_YOPY),y)
+QT_CONFIGURE += -qt-kbd-yopy
+else
+QT_CONFIGURE += -no-kbd-yopy
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_VR41XX),y)
+QT_CONFIGURE += -qt-kbd-vr41xx
+else
+QT_CONFIGURE += -no-kbd-vr41xx
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_QVFB),y)
+QT_CONFIGURE += -qt-kbd-qvfb
+else
+QT_CONFIGURE += -no-kbd-qvfb
+endif
+
ifeq ($(BR2_PACKAGE_QT_DEBUG),y)
QT_CONFIGURE+= -debug
else
OpenPOWER on IntegriCloud