aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamepad/qgamepad.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Expand scope of QtGamepad to QtUniversalInputHEADdevJohan Solbakken10 days1-311/+119
| | | | | | | | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-04-231-2/+2
|\ | | | | | | Change-Id: I30d5db204888885e9cf490d72041377402558398
| * Merge remote-tracking branch 'origin/5.12.3' into 5.12Qt Forward Merge Bot2019-04-171-2/+2
| |\ | | | | | | | | | Change-Id: I0824edbea393edace8932ae07f6e6b2520c64f57
| | * Doc: Add missing word in description of buttonDownPaul Wicking2019-03-291-2/+2
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-74818 Change-Id: I5e780c6a466afaec4b4efa3f63e8b9607471f651 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta3Liang Qi2019-04-161-2/+0
|\| | | | | | | | | | | | | | | | | | | | Conflicts: src/gamepad/qgamepad.cpp Change-Id: I634213e4d668c778250dbd848f7dbd319c8457f1
| * | Doc: Remove redundant see also entryPaul Wicking2019-04-101-4/+0
| |/ | | | | | | | | | | | | | | | | | | It isn't obvious why this entry is relevant. It is also inconsistent with the surrounding documentation. Fixes: QTBUG-74819 Change-Id: I1887c1c3f793464420ed0cbf56348f041abec653 Reviewed-by: Frederik Schwarzer <bugfinger@posteo.de> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* / Doc: Fix minor issuesTopi Reinio2019-03-041-32/+7
|/ | | | | | | | Fix linking to GamepadManager::connectedGamepads property, remove unnecessary \readonly commands, as well as other minor issues. Change-Id: I0d9fd977a3824ac3e52e3a9e3bb5584673bfc6c1 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Doc: Add doc to QML types in Qt Gamepad moduleNico Vertriest2019-01-291-29/+245
| | | | | | Task-number: QTBUG-70270 Change-Id: I6acccf981da23bae9ec83a8d2b5b17b6c2449061 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Add missing dots (qtgamepad)Paul Wicking2018-06-191-1/+1
| | | | | | Task-number: QTBUG-68933 Change-Id: Ida6cb8a63752c1dc127fcbe807e9f40b68f75772 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
* Propagate the gamepad name from the backend to QGamepadAndrea Odetti2017-10-061-0/+22
| | | | | | | | | | | | Added signals and slots to forward the name to QGamepad. Previously the property name and signal nameChanged in QGamepad were never used. Now the plumbing is done and the 2 linux backends (evdev and SDL2) forward the name. Change-Id: I97261769524ddb23a31789e362e6de7bb30694f3 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Doc: minor language corrections qgamepad.cppv5.9.0-alpha1Nico Vertriest2017-02-131-43/+54
| | | | | Change-Id: I30862f47396dc4a1fb0cc9cdaf0e54dafe06582a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/dev' into 5.9Andy Nichols2017-01-311-293/+374
|\ | | | | | | Change-Id: Ieaf48cf0764f9cdf32f656233252cdfe451ab22f
| * PImplize the public exportsAndy Nichols2017-01-301-293/+374
| | | | | | | | | | | | | | | | QGamepad, QGamepadManager, and QGamepadKeyNavigation needed private implementations. Change-Id: I592933f2b8a3101f0a7b9eeaf789e6ac8e2bc15b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* | Doc: added basic doc for QGamepadManagerNico Vertriest2017-01-311-12/+12
|/ | | | | Change-Id: I9692182d60d670742895f1dfce9b0e8159548f11 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
* Doc: minor link and doc compilation errorsNico Vertriest2016-07-081-3/+1
| | | | | | | | Cannot find 'QGamepad::isConnected' specified with '\property' Can't link to 'Qt Creator: Building and Running an Example' Change-Id: Ia4654251f3fcf7d3b4665cd773b3fefa68cd9ecf Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
* Say hello to android gamepad supportBogDan Vatra2015-10-261-0/+14
| | | | | Change-Id: I3712c6846c671a1aae8ca3eeae5a80eddd7a558b Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Rename index -> deviceIdBogDan Vatra2015-10-151-24/+24
| | | | | | | | index is not the smartest way to uniquely identify a device, let's use something that doesn't change. Change-Id: Idf925b13efc8dd604f185ea8de44659509d11054 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Initial public release of Qt Gamepad moduleAndy Nichols2015-05-111-0/+600
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