]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/controllerwidget.h
Version 2.1.3 release.
[virtualjaguar] / src / gui / controllerwidget.h
index eada2d642a53908c97c729bb65624f014c2d91c2..2613486d9faf5de626b969a2e891d18afb57d52a 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __CONTROLLERWIDGET_H__
 #define __CONTROLLERWIDGET_H__
 
-#include <QtGui>
+#include <QtWidgets>
 #include <stdint.h>
 
 class ControllerWidget: public QWidget
@@ -24,6 +24,9 @@ class ControllerWidget: public QWidget
        private:
                void DrawBorderedText(QPainter &, int, int, QString);
 
+       signals:
+               void KeyDefined(int, uint32_t);
+
        public:
                uint32_t keys[21];
 
@@ -37,6 +40,7 @@ class ControllerWidget: public QWidget
                static char keyName1[96][16];
                static char keyName2[64][16];
                static char hatName[4][16];
+               static char axisName[2][8];
                static int buttonPos[21][2];
 };