31BOOL CALLBACK EnumObjectsCallback(
const DIDEVICEOBJECTINSTANCE* pdidoi, VOID* pContext );
32BOOL CALLBACK EnumJoysticksCallback(
const DIDEVICEINSTANCE* pdidInstance, VOID* pContext );
95 void updateDoubleData(
double value);
96 void updateBoolData(
bool value);
108 LPDIRECTINPUTDEVICE8 pJoystick;
109 DI_ENUM_CONTEXT pEnumContext;
110 IDirectInputEffect* mRumbleEffect;
112 HRESULT InitDirectInput();
113 VOID FreeDirectInput();
114 HRESULT UpdateInputState();
118 XINPUT_VIBRATION mRumbleState;
121#elif defined(ANDROID)
122 static void updateInputEvent(AInputEvent* event);
123 void updateEvent(AInputEvent* event);
137 boost::thread mThread;
147#elif !defined(_WIN32)
156#if defined(ANDROID) || defined(LINUX) || defined(RPI) || defined(OSX) || defined(APPLE_IOS)
157 static std::list<Joypad*> lJoypad;
161#if !defined(_WIN32) && !defined(ANDROID)