This patch transforms the QtGamepad module from Qt 5 into a new
module that expands the scope to include all forms of exotic input.
The majority of the previous QtGamepad functionality and APIs are
preserved, but now there is also a more general API for getting
the state of input devices like joysticks, flight yokes, and
any other devices that define themselves in terms of buttons and
axes.
In addition to being able to receive input, it is also now possible
to output feedback in devices that support it.
Experimental input mapping functionality has been added to facilitate
mapping an arbitrary input to a predefined action.
Change-Id: Ic35b73282944cfd4eea9defbcf82c4abc55d7237
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Rename Android package name org.qtproject.qt5.android to
org.qtproject.qt.android to avoid inconsistency with Qt 6 name.
Also, we include the major version number in the jar target.
Task-number: QTBUG-86969
Change-Id: If2c7e014ed52dd97e86c5a179dfbcbcce915ee83
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Necessary changes to be compatible with AAB changes in Qt 5.14.
Change-Id: I014c49a0ff01b9d2d1d086049d6edb885c9fac52
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Qt 5.13 lifted the minimal Android SDK version to 21. The example
had a too low version.
Change-Id: I3b9bc936799e334635898435366167f91c002c75
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
The example fails silently, so turn on debug logging so we can see what's
happening and add a debug message if it fails to find any gamepads.
Change-Id: I5ceedc9734836e1a44788c0912c3cbcfbb7cb158
Reviewed-by: Andrea Odetti <mariofutire@gmail.com>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Examples were using the default Qt Creator generated deployment
include which does not have the correct target paths.
Task-number: QTBUG-51918
Change-Id: I6d217c6964c2cdab852ea1067bd0adcb6f34534a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Allowing the user to configure every button & axis of (s)his gamepad,
will enable the usage of any gamepad.
Currently only evdev backed has this feature.
Change-Id: I6e0692980e77b448d20d5ba818b787a7b89e7257
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Qt Gamepad is a Qt 5 module that adds support for using Gamepad devices
(like the XBox 360 controller) inside of Qt applications.
Change-Id: I5dff629dcfdcc5625a90274017b8e97f45e8fd30