]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/keygrabber.h
More gamepad work.
[virtualjaguar] / src / gui / keygrabber.h
index aae59616fe1401441939e0c0f98a1a01b6fea216..cb0abaf7352499413590e2e96d115103d59f7c2c 100644 (file)
@@ -22,8 +22,14 @@ class KeyGrabber: public QDialog
        protected:
                void keyPressEvent(QKeyEvent *);
 
-private:
+       private slots:
+               void CheckGamepad();
+
+       private:
                QLabel * label;
+               QTimer * timer;
+               bool buttonDown;
+               int button;
 
        public:
                int key;