mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
add a property for number of buttons in Joystick
This commit is contained in:
parent
00b0806c4d
commit
d50c81e4a1
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Joystick : public QObject {
|
|||
Q_PROPERTY(QString name READ getName)
|
||||
|
||||
Q_PROPERTY(int numAxes READ getNumAxes)
|
||||
Q_PROPERTY(QVector<float> axes READ getAxes)
|
||||
Q_PROPERTY(int numButtons READ getNumButtons)
|
||||
public:
|
||||
Joystick();
|
||||
~Joystick();
|
||||
|
|
Loading…
Reference in a new issue