]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/controllertab.h
Various fixes for GPU/DSP DIV instruction, fixes for joypad handling.
[virtualjaguar] / src / gui / controllertab.h
index 5f5d11aca2f636dc19d9c68c1adddb689095bf3d..998d193333ac79341500bee89c99231ba669e928 100644 (file)
@@ -2,6 +2,9 @@
 #define __CONTROLLERTAB_H__
 
 #include <QtGui>
+#include <stdint.h>
+
+class ControllerWidget;
 
 class ControllerTab: public QWidget
 {
@@ -13,18 +16,17 @@ class ControllerTab: public QWidget
 
        protected slots:
                void DefineAllKeys(void);
+               void ChangeProfile(int);
 
        private:
+               QLabel * label;
+               QComboBox * controllerList;
+               QComboBox * profileList;
                QPushButton * redefineAll;
-               void DrawBorderedText(QPainter &, int, int, QString);
 
        public:
-               int p1Keys[21];
-
-       // Class data
-       private:
-               static char keyName1[96][16];
-               static char keyName2[64][16];
+               ControllerWidget * controllerWidget;
+               int profile;
 };
 
 #endif // __CONTROLLERTAB_H__