X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fkeygrabber.h;h=abaf534122bf6c17da4c4b95cc7ee46527a1f9ab;hb=314c595304e7b95963356d09c7a622d5469dc6f2;hp=6ea19d2e76b516f2052212b39c11fd71f0c6d019;hpb=0c6ed444bbb07e5cc0513a7d3075fb24d06e61eb;p=virtualjaguar diff --git a/src/gui/keygrabber.h b/src/gui/keygrabber.h index 6ea19d2..abaf534 100644 --- a/src/gui/keygrabber.h +++ b/src/gui/keygrabber.h @@ -1,7 +1,7 @@ // // keygrabber.h - Widget to grab a key and dismiss itself // -// by James L. Hammons +// by James Hammons // (C) 2011 Underground Software // @@ -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;