]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/keygrabber.h
Possible fix for gamepad 'Select All Keys' problem.
[virtualjaguar] / src / gui / keygrabber.h
index aae59616fe1401441939e0c0f98a1a01b6fea216..abaf534122bf6c17da4c4b95cc7ee46527a1f9ab 100644 (file)
@@ -22,8 +22,14 @@ class KeyGrabber: public QDialog
        protected:
                void keyPressEvent(QKeyEvent *);
 
-private:
+       private slots:
+               void CheckGamepad();
+
+       private:
                QLabel * label;
+               QTimer * timer;
+               static bool buttonDown; // Class variable
+               static int button;              // Class variable
 
        public:
                int key;