first attempt at fixing controller/gamepad, it works with the android controller but it doesnt have hats/buttons, needs testing
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}