Hello community,
here is the log from the commit of package libqt5-qtgamepad for
openSUSE:Factory checked in at 2019-03-22 15:05:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtgamepad (Old)
and /work/SRC/openSUSE:Factory/.libqt5-qtgamepad.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtgamepad"
Fri Mar 22 15:05:54 2019 rev:9 rq:685631 version:5.12.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtgamepad/libqt5-qtgamepad.changes
2018-12-20 12:54:07.970713208 +0100
+++
/work/SRC/openSUSE:Factory/.libqt5-qtgamepad.new.25356/libqt5-qtgamepad.changes
2019-03-22 15:06:36.485533943 +0100
@@ -1,0 +2,16 @@
+Thu Mar 14 08:51:24 UTC 2019 - [email protected]
+
+- Update to 5.12.2:
+ * New bugfix release
+ * For more details please see:
+ * http://code.qt.io/cgit/qt/qtgamepad.git/plain/dist/changes-5.12.2/?h=5.12.2
+
+-------------------------------------------------------------------
+Fri Feb 1 08:40:00 UTC 2019 - [email protected]
+
+- Update to 5.12.1:
+ * New bugfix release
+ * For more details please see:
+ *
http://code.qt.io/cgit/qt/qtgamepad.git/plain/dist/changes-5.12.1/?h=v5.12.1
+
+-------------------------------------------------------------------
Old:
----
qtgamepad-everywhere-src-5.12.0.tar.xz
New:
----
qtgamepad-everywhere-src-5.12.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqt5-qtgamepad.spec ++++++
--- /var/tmp/diff_new_pack.rEu5dB/_old 2019-03-22 15:06:37.561533012 +0100
+++ /var/tmp/diff_new_pack.rEu5dB/_new 2019-03-22 15:06:37.565533008 +0100
@@ -21,16 +21,16 @@
%define libname libQt5Gamepad5
Name: libqt5-qtgamepad
-Version: 5.12.0
+Version: 5.12.2
Release: 0
Summary: Qt 5 Gamepad Library
License: LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or LGPL-3.0-only
Group: Development/Libraries/X11
Url: http://qt.io
%define base_name libqt5
-%define real_version 5.12.0
-%define so_version 5.12.0
-%define tar_version qtgamepad-everywhere-src-5.12.0
+%define real_version 5.12.2
+%define so_version 5.12.2
+%define tar_version qtgamepad-everywhere-src-5.12.2
Source:
https://download.qt.io/official_releases/qt/5.12/%{real_version}/submodules/%{tar_version}.tar.xz
Source1: baselibs.conf
BuildRequires: libQt5Core-private-headers-devel >= %{version}
++++++ qtgamepad-everywhere-src-5.12.0.tar.xz ->
qtgamepad-everywhere-src-5.12.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtgamepad-everywhere-src-5.12.0/.qmake.conf
new/qtgamepad-everywhere-src-5.12.2/.qmake.conf
--- old/qtgamepad-everywhere-src-5.12.0/.qmake.conf 2018-11-07
08:07:35.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/.qmake.conf 2019-02-25
13:58:14.000000000 +0100
@@ -3,4 +3,4 @@
CONFIG += warning_clean
DEFINES += QT_NO_FOREACH
-MODULE_VERSION = 5.12.0
+MODULE_VERSION = 5.12.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtgamepad-everywhere-src-5.12.0/.tag
new/qtgamepad-everywhere-src-5.12.2/.tag
--- old/qtgamepad-everywhere-src-5.12.0/.tag 2018-11-07 08:07:35.000000000
+0100
+++ new/qtgamepad-everywhere-src-5.12.2/.tag 2019-02-25 13:58:14.000000000
+0100
@@ -1 +1 @@
-2d93e66a5ca70b475f3a02fba1502a12f8638391
+744e13b37bf1061814d7e2e1d60f8e3ce4ac6e0b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.11.3
new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.11.3
--- old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.11.3 1970-01-01
01:00:00.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.11.3 2019-02-25
13:58:14.000000000 +0100
@@ -0,0 +1,20 @@
+Qt 5.11.3 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.11.0 through 5.11.2.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+http://doc.qt.io/qt-5/index.html
+
+The Qt version 5.11 series is binary compatible with the 5.10.x series.
+Applications compiled for 5.10 will continue to run with 5.11.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+https://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+ - This release contains only minor code improvements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.12.1
new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.12.1
--- old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.12.1 1970-01-01
01:00:00.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.12.1 2019-02-25
13:58:14.000000000 +0100
@@ -0,0 +1,20 @@
+Qt 5.12.1 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.12.0.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+http://doc.qt.io/qt-5/index.html
+
+The Qt version 5.12 series is binary compatible with the 5.11.x series.
+Applications compiled for 5.11 will continue to run with 5.12.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+https://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+ - This release contains only minor code improvements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.12.2
new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.12.2
--- old/qtgamepad-everywhere-src-5.12.0/dist/changes-5.12.2 1970-01-01
01:00:00.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/dist/changes-5.12.2 2019-02-25
13:58:14.000000000 +0100
@@ -0,0 +1,20 @@
+Qt 5.12.2 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.12.0 through 5.12.1.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+https://doc.qt.io/qt-5/index.html
+
+The Qt version 5.12 series is binary compatible with the 5.11.x series.
+Applications compiled for 5.11 will continue to run with 5.12.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+https://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+ - This release contains only minor code improvements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackend_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackend_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackend_p.h
2018-11-07 08:07:35.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackend_p.h
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-#include "../../../../../src/gamepad/qgamepadbackend_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendfactory_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendfactory_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendfactory_p.h
2018-11-07 08:07:35.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendfactory_p.h
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-#include "../../../../../src/gamepad/qgamepadbackendfactory_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendplugin_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendplugin_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendplugin_p.h
2018-11-07 08:07:35.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.0/QtGamepad/private/qgamepadbackendplugin_p.h
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-#include "../../../../../src/gamepad/qgamepadbackendplugin_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackend_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackend_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackend_p.h
1970-01-01 01:00:00.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackend_p.h
2019-02-25 13:58:14.000000000 +0100
@@ -0,0 +1 @@
+#include "../../../../../src/gamepad/qgamepadbackend_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendfactory_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendfactory_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendfactory_p.h
1970-01-01 01:00:00.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendfactory_p.h
2019-02-25 13:58:14.000000000 +0100
@@ -0,0 +1 @@
+#include "../../../../../src/gamepad/qgamepadbackendfactory_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendplugin_p.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendplugin_p.h
---
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendplugin_p.h
1970-01-01 01:00:00.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/5.12.2/QtGamepad/private/qgamepadbackendplugin_p.h
2019-02-25 13:58:14.000000000 +0100
@@ -0,0 +1 @@
+#include "../../../../../src/gamepad/qgamepadbackendplugin_p.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/qtgamepadversion.h
new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/qtgamepadversion.h
--- old/qtgamepad-everywhere-src-5.12.0/include/QtGamepad/qtgamepadversion.h
2018-12-04 04:08:57.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/include/QtGamepad/qtgamepadversion.h
2019-03-11 14:59:08.000000000 +0100
@@ -2,8 +2,8 @@
#ifndef QT_QTGAMEPAD_VERSION_H
#define QT_QTGAMEPAD_VERSION_H
-#define QTGAMEPAD_VERSION_STR "5.12.0"
+#define QTGAMEPAD_VERSION_STR "5.12.2"
-#define QTGAMEPAD_VERSION 0x050C00
+#define QTGAMEPAD_VERSION 0x050C02
#endif // QT_QTGAMEPAD_VERSION_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/src/gamepad/doc/src/qtgamepad-qmltypes.qdoc
new/qtgamepad-everywhere-src-5.12.2/src/gamepad/doc/src/qtgamepad-qmltypes.qdoc
---
old/qtgamepad-everywhere-src-5.12.0/src/gamepad/doc/src/qtgamepad-qmltypes.qdoc
2018-11-07 08:07:35.000000000 +0100
+++
new/qtgamepad-everywhere-src-5.12.2/src/gamepad/doc/src/qtgamepad-qmltypes.qdoc
2019-02-25 13:58:14.000000000 +0100
@@ -26,7 +26,7 @@
****************************************************************************/
/*!
- \qmlmodule QtGamepad 1.0
+ \qmlmodule QtGamepad 1.\QtMinorVersion
\title Qt Gamepad QML Types
\ingroup qmlmodules
\brief Provides QML types for using gamepad hardware.
@@ -37,9 +37,9 @@
The QML types can be imported into your application using the following
import statement:
- \code
- import QtGamepad 1.0
- \endcode
+ \qml \QtMinorVersion
+ import QtGamepad 1.\1
+ \endqml
To link against the module, add this line to your \l qmake \c .pro file:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/src/gamepad/qgamepad.cpp
new/qtgamepad-everywhere-src-5.12.2/src/gamepad/qgamepad.cpp
--- old/qtgamepad-everywhere-src-5.12.0/src/gamepad/qgamepad.cpp
2018-11-07 08:07:35.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/src/gamepad/qgamepad.cpp
2019-02-25 13:58:14.000000000 +0100
@@ -375,6 +375,16 @@
*/
/*!
+ * \qmltype Gamepad
+ * \inqmlmodule QtGamepad
+ * \brief A gamepad device connected to a system.
+ * \instantiates QGamepad
+ *
+ * Gamepad QML type is used to access the current state of gamepad
+ * hardware connected to a system
+ */
+
+/*!
* Constructs a QGamepad with the given \a deviceId and \a parent.
*/
QGamepad::QGamepad(int deviceId, QObject *parent)
@@ -393,9 +403,6 @@
d->setName(d->gamepadManager->gamepadName(deviceId));
}
-/*!
- * \brief Destroys the QGamepad.
- */
QGamepad::~QGamepad()
{
}
@@ -403,11 +410,19 @@
/*!
* \property QGamepad::deviceId
*
- * This property holds the deviceId of the gamepad device. Multiple gamepad
devices can be
+ * This property holds the deviceId of the gamepad device. Multiple gamepad
devices can be
* connected at any given time, so setting this property defines which gamepad
to use.
*
* \sa QGamepadManager::connectedGamepads()
*/
+/*!
+ * \qmlproperty int Gamepad::deviceId
+ *
+ * This property holds the deviceId of the gamepad device. Multiple gamepad
devices can be
+ * connected at any given time, so setting this property defines which gamepad
to use.
+ *
+ * \sa GamepadManager::connectedGamepads()
+ */
int QGamepad::deviceId() const
{
Q_D(const QGamepad);
@@ -416,7 +431,16 @@
/*!
* \property QGamepad::connected
- * This read-only property holds the connectivity state of the gamepad device.
+ * \readonly
+ *
+ * The connectivity state of the gamepad device.
+ * If a gamepad is connected, this property will be true, otherwise false.
+ */
+/*!
+ * \qmlproperty bool Gamepad::connected
+ * \readonly
+ *
+ * The connectivity state of the gamepad device.
* If a gamepad is connected, this property will be true, otherwise false.
*/
bool QGamepad::isConnected() const
@@ -427,9 +451,15 @@
/*!
* \property QGamepad::name
+ * \readonly
+ *
+ * The reported name of the gamepad if one is available.
+ */
+/*!
+ * \qmlproperty string Gamepad::name
+ * \readonly
*
- * This read-only property holds the reported name of the gamepad if one
- * is available.
+ * The reported name of the gamepad if one is available.
*/
QString QGamepad::name() const
{
@@ -439,8 +469,16 @@
/*!
* \property QGamepad::axisLeftX
+ * \readonly
+ *
+ * The value of the left thumbstick's X axis.
+ * The axis values range from -1.0 to 1.0.
+ */
+/*!
+ * \qmlproperty double Gamepad::axisLeftX
+ * \readonly
*
- * This read-only property holds the value of the left thumbstick's X axis.
+ * The value of the left thumbstick's X axis.
* The axis values range from -1.0 to 1.0.
*/
double QGamepad::axisLeftX() const
@@ -451,8 +489,16 @@
/*!
* \property QGamepad::axisLeftY
+ * \readonly
*
- * This read-only property holds the value of the left thumbstick's Y axis.
+ * The value of the left thumbstick's Y axis.
+ * The axis values range from -1.0 to 1.0.
+ */
+/*!
+ * \qmlproperty double Gamepad::axisLeftY
+ * \readonly
+ *
+ * The value of the left thumbstick's Y axis.
* The axis values range from -1.0 to 1.0.
*/
double QGamepad::axisLeftY() const
@@ -463,8 +509,16 @@
/*!
* \property QGamepad::axisRightX
+ * \readonly
+ *
+ * This value of the right thumbstick's X axis.
+ * The axis values range from -1.0 to 1.0.
+ */
+/*!
+ * \qmlproperty double Gamepad::axisRightX
+ * \readonly
*
- * This read-only property holds the value of the right thumbstick's X axis.
+ * This value of the right thumbstick's X axis.
* The axis values range from -1.0 to 1.0.
*/
double QGamepad::axisRightX() const
@@ -475,8 +529,16 @@
/*!
* \property QGamepad::axisRightY
+ * \readonly
+ *
+ * This value of the right thumbstick's Y axis.
+ * The axis values range from -1.0 to 1.0.
+ */
+/*!
+ * \qmlproperty double Gamepad::axisRightY
+ * \readonly
*
- * This read-only property holds the value of the right thumbstick's Y axis.
+ * This value of the right thumbstick's Y axis.
* The axis values range from -1.0 to 1.0.
*/
double QGamepad::axisRightY() const
@@ -487,8 +549,16 @@
/*!
* \property QGamepad::buttonA
+ * \readonly
*
- * This read-only property holds the state of the A button.
+ * The state of the A button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonA
+ * \readonly
+ *
+ * The state of the A button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonA() const
@@ -499,12 +569,22 @@
/*!
* \property QGamepad::buttonB
+ * \readonly
*
- * This read-only property holds the state of the B button.
+ * The state of the B button.
* The value is \c true when pressed, and \c false when not pressed.
*
* \sa QGamepadManager::connectedGamepads()
*/
+/*!
+ * \qmlproperty bool Gamepad::buttonB
+ * \readonly
+ *
+ * The state of the B button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ *
+ * \sa GamepadManager::connectedGamepads()
+ */
bool QGamepad::buttonB() const
{
Q_D(const QGamepad);
@@ -513,8 +593,16 @@
/*!
* \property QGamepad::buttonX
+ * \readonly
*
- * This read-only property holds the state of the X button.
+ * The state of the X button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonX
+ * \readonly
+ *
+ * The state of the X button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonX() const
@@ -525,8 +613,16 @@
/*!
* \property QGamepad::buttonY
+ * \readonly
+ *
+ * The state of the Y button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonY
+ * \readonly
*
- * This read-only property holds the state of the Y button.
+ * The state of the Y button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonY() const
@@ -537,8 +633,16 @@
/*!
* \property QGamepad::buttonL1
+ * \readonly
*
- * This read-only property holds the state of the left shoulder button.
+ * The state of the left shoulder button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonL1
+ * \readonly
+ *
+ * The state of the left shoulder button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonL1() const
@@ -549,8 +653,16 @@
/*!
* \property QGamepad::buttonR1
+ * \readonly
*
- * This read-only property holds the state of the right shoulder button.
+ * The state of the right shoulder button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonR1
+ * \readonly
+ *
+ * The state of the right shoulder button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonR1() const
@@ -561,8 +673,17 @@
/*!
* \property QGamepad::buttonL2
+ * \readonly
+ *
+ * The value of the left trigger button.
+ * This trigger value ranges from 0.0 when not pressed to 1.0
+ * when pressed completely.
+ */
+/*!
+ * \qmlproperty double Gamepad::buttonL2
+ * \readonly
*
- * This read-only property holds the value of the left trigger button.
+ * The value of the left trigger button.
* This trigger value ranges from 0.0 when not pressed to 1.0
* when pressed completely.
*/
@@ -574,8 +695,17 @@
/*!
* \property QGamepad::buttonR2
+ * \readonly
*
- * This read-only property holds the value of the right trigger button.
+ * The value of the right trigger button.
+ * This trigger value ranges from 0.0 when not pressed to 1.0
+ * when pressed completely.
+ */
+/*!
+ * \qmlproperty double Gamepad::buttonR2
+ * \readonly
+ *
+ * The value of the right trigger button.
* This trigger value ranges from 0.0 when not pressed to 1.0
* when pressed completely.
*/
@@ -587,8 +717,17 @@
/*!
* \property QGamepad::buttonSelect
+ * \readonly
*
- * This read-only property holds the state of the Select button.
+ * The state of the Select button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ * This button can sometimes be labeled as the Back button on some gamepads.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonSelect
+ * \readonly
+ *
+ * The state of the Select button.
* The value is \c true when pressed, and \c false when not pressed.
* This button can sometimes be labeled as the Back button on some gamepads.
*/
@@ -600,8 +739,17 @@
/*!
* \property QGamepad::buttonStart
+ * \readonly
+ *
+ * The state of the Start button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ * This button can sometimes be labeled as the Forward button on some gamepads.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonStart
+ * \readonly
*
- * This read-only property holds the state of the Start button.
+ * The state of the Start button.
* The value is \c true when pressed, and \c false when not pressed.
* This button can sometimes be labeled as the Forward button on some gamepads.
*/
@@ -613,8 +761,17 @@
/*!
* \property QGamepad::buttonL3
+ * \readonly
*
- * This read-only property holds the state of the left stick button.
+ * The state of the left stick button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ * This button is usually triggered by pressing the left joystick itself.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonL3
+ * \readonly
+ *
+ * The state of the left stick button.
* The value is \c true when pressed, and \c false when not pressed.
* This button is usually triggered by pressing the left joystick itself.
*/
@@ -626,8 +783,17 @@
/*!
* \property QGamepad::buttonR3
+ * \readonly
*
- * This read-only property holds the state of the right stick button.
+ * The state of the right stick button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ * This button is usually triggered by pressing the right joystick itself.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonR3
+ * \readonly
+ *
+ * The state of the right stick button.
* The value is \c true when pressed, and \c false when not pressed.
* This button is usually triggered by pressing the right joystick itself.
*/
@@ -639,8 +805,16 @@
/*!
* \property QGamepad::buttonUp
+ * \readonly
+ *
+ * The state of the direction pad up button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonUp
+ * \readonly
*
- * This read-only property holds the state of the direction pad up button.
+ * The state of the direction pad up button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonUp() const
@@ -651,8 +825,16 @@
/*!
* \property QGamepad::buttonDown
+ * \readonly
*
- * This read-only property holds the state of the direction pad down button.
+ * The of the direction pad down button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonDown
+ * \readonly
+ *
+ * The of the direction pad down button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonDown() const
@@ -663,8 +845,16 @@
/*!
* \property QGamepad::buttonLeft
+ * \readonly
+ *
+ * The state of the direction pad left button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonLeft
+ * \readonly
*
- * This read-only property holds the state of the direction pad left button.
+ * The state of the direction pad left button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonLeft() const
@@ -675,8 +865,16 @@
/*!
* \property QGamepad::buttonRight
+ * \readonly
*
- * This read-only property holds the state of the direction pad right button.
+ * The state of the direction pad right button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*!
+ * \qmlproperty bool Gamepad::buttonRight
+ * \readonly
+ *
+ * The state of the direction pad right button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonRight() const
@@ -687,8 +885,15 @@
/*!
* \property QGamepad::buttonCenter
+ * \readonly
+ *
+ * The state of the center button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ */
+/*
+ * \qmlproperty bool Gamepad::buttonCenter
*
- * This read-only property holds the state of the center button.
+ * The state of the center button.
* The value is \c true when pressed, and \c false when not pressed.
*/
bool QGamepad::buttonCenter() const
@@ -699,12 +904,23 @@
/*!
* \property QGamepad::buttonGuide
+ * \readonly
*
- * This read-only property holds the state of the guide button.
+ * The state of the guide button.
* The value is \c true when pressed, and \c false when not pressed.
* This button is typically the one in the center of the gamepad with a logo.
* Some gamepads will not have a guide button.
*/
+/*
+ * \qmlproperty bool Gamepad::buttonGuide
+ * \readonly
+ *
+ * The state of the guide button.
+ * The value is \c true when pressed, and \c false when not pressed.
+ * This button is typically the one in the center of the gamepad with a logo.
+ * Some gamepads will not have a guide button.
+ */
+
bool QGamepad::buttonGuide() const
{
Q_D(const QGamepad);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/src/gamepad/qgamepadmanager.cpp
new/qtgamepad-everywhere-src-5.12.2/src/gamepad/qgamepadmanager.cpp
--- old/qtgamepad-everywhere-src-5.12.0/src/gamepad/qgamepadmanager.cpp
2018-11-07 08:07:35.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/src/gamepad/qgamepadmanager.cpp
2019-02-25 13:58:14.000000000 +0100
@@ -144,6 +144,17 @@
*/
/*!
+ * \qmltype GamepadManager
+ * \inqmlmodule QtGamepad
+ * \instantiates QGamepadManager
+ * \brief Queries attached gamepads and related events.
+ *
+ * GamepadManager QML type provides a high-level interface for
+ * querying the attached gamepads and events related to all of the
+ * connected devices.
+ */
+
+/*!
* Constructor for QGamepadManager.
*/
@@ -213,7 +224,15 @@
}
/*!
- Returns a QList containing the \l {QGamepad::}{deviceId}
+ \qmlproperty var GamepadManager::connectedGamepads
+ \readonly
+
+ Returns a list of integers containing the \l {QGamepad::}{deviceId}
+ values of the connected gamepads.
+*/
+
+/*!
+ Returns a list of integers containing the \l {QGamepad::}{deviceId}
values of the connected gamepads.
*/
const QList<int> QGamepadManager::connectedGamepads() const
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtgamepad-everywhere-src-5.12.0/src/plugins/gamepads/gamepads.pro
new/qtgamepad-everywhere-src-5.12.2/src/plugins/gamepads/gamepads.pro
--- old/qtgamepad-everywhere-src-5.12.0/src/plugins/gamepads/gamepads.pro
2018-11-07 08:07:35.000000000 +0100
+++ new/qtgamepad-everywhere-src-5.12.2/src/plugins/gamepads/gamepads.pro
2019-02-25 13:58:14.000000000 +0100
@@ -2,6 +2,6 @@
QT_FOR_CONFIG += gui-private gamepad-private
qtConfig(sdl2): SUBDIRS += sdl2
!android: qtConfig(evdev): SUBDIRS += evdev
-win32: !wince*: SUBDIRS += xinput
+win32: SUBDIRS += xinput
darwin: !watchos: SUBDIRS += darwin
android: !android-embedded: SUBDIRS += android