#ifndef MSP_INPUT_GAMECONTROLLER_H_
#define MSP_INPUT_GAMECONTROLLER_H_
+#include <msp/graphics/mspgui_api.h>
#include <msp/io/eventdispatcher.h>
#include <msp/time/timedelta.h>
#include "device.h"
namespace Msp {
namespace Input {
-class GameController: public Device
+class MSPGUI_API GameController: public Device
{
private:
struct Private;
- Private *priv;
- IO::EventDispatcher *event_disp;
+ Private *priv = nullptr;
+ IO::EventDispatcher *event_disp = nullptr;
static bool detect_done;
static unsigned n_detected_controllers;