+#include "gamecontroller.h"
+#include "gamecontroller_platform.h"
#include <fcntl.h>
#include <linux/joystick.h>
#include <msp/core/algorithm.h>
#include <msp/fs/dir.h>
#include <msp/io/handle_private.h>
#include <msp/strings/format.h>
-#include "gamecontroller.h"
-#include "gamecontroller_platform.h"
using namespace std;
vector<string> GameController::Private::detected_controllers;
GameController::GameController(unsigned index):
- Device(GAME_CONTROLLER),
- event_disp(0)
+ Device(GAME_CONTROLLER)
{
if(!detect_done)
detect();