X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.h;h=c72507d3ab1da1ced7a288fd5b421c74edce6011;hb=62587015fb12ec54b1702bfa17077e4b8af44b19;hp=64e291a9998ea23e4978021ef02b6361f536ce84;hpb=166019baeee39e3867ecf6c4eddd0855dc3507a4;p=virtualjaguar diff --git a/src/gui/controllertab.h b/src/gui/controllertab.h index 64e291a..c72507d 100644 --- a/src/gui/controllertab.h +++ b/src/gui/controllertab.h @@ -2,6 +2,9 @@ #define __CONTROLLERTAB_H__ #include +#include + +class ControllerWidget; class ControllerTab: public QWidget { @@ -11,14 +14,33 @@ class ControllerTab: public QWidget ControllerTab(QWidget * parent = 0); ~ControllerTab(); + void SetupLastUsedProfile(void); + protected slots: void DefineAllKeys(void); + void UpdateProfileKeys(int, uint32_t); + void UpdateProfileConnections(int); + void ChangeDevice(int); + void ChangeMapName(int); + void AddMapName(void); + void DeleteMapName(void); private: + QLabel * label1; + QLabel * label2; + QLabel * label3; + QComboBox * deviceList; + QComboBox * mapNameList; + QComboBox * mapToList; + QCheckBox * controller1; + QCheckBox * controller2; + QPushButton * addMapName; + QPushButton * deleteMapName; QPushButton * redefineAll; public: - int p1Keys[21]; + ControllerWidget * controllerWidget; + int profileNum; }; #endif // __CONTROLLERTAB_H__