From d50c81e4a1f952cbda71fec369537014734a4332 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 23 Sep 2014 17:10:25 -0700 Subject: [PATCH] add a property for number of buttons in Joystick --- interface/src/devices/Joystick.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/devices/Joystick.h b/interface/src/devices/Joystick.h index c1e9acaff0..63386db5c5 100644 --- a/interface/src/devices/Joystick.h +++ b/interface/src/devices/Joystick.h @@ -26,7 +26,7 @@ class Joystick : public QObject { Q_PROPERTY(QString name READ getName) Q_PROPERTY(int numAxes READ getNumAxes) - Q_PROPERTY(QVector axes READ getAxes) + Q_PROPERTY(int numButtons READ getNumButtons) public: Joystick(); ~Joystick();