X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fwindows%2Fgamecontroller.cpp;h=df29666cc73904d9dd83d437e50d58d94a6aa97d;hb=294c354ae3b1f26887c37f866f082e52c08d80f1;hp=9c6853a41bd15095cbc23d69ba651ce26459f6ec;hpb=2ed9d7a0a96638bdf0614c1cf858719e7ced40d3;p=libs%2Fgui.git diff --git a/source/input/windows/gamecontroller.cpp b/source/input/windows/gamecontroller.cpp index 9c6853a..df29666 100644 --- a/source/input/windows/gamecontroller.cpp +++ b/source/input/windows/gamecontroller.cpp @@ -101,13 +101,6 @@ void GameController::tick(const Time::TimeDelta &) } -GameController::Private::Private(): - index(0), - last_packet_number(0), - event_pipe(0), - timer_slot(0) -{ } - bool GameController::Private::generate_event() { event_pipe->put(1); @@ -144,8 +137,7 @@ void GameController::Private::update_state(GameController &ctrl, const XINPUT_ST GameControllerTimerThread *GameControllerTimerThread::thread = 0; GameControllerTimerThread::GameControllerTimerThread(): - Thread("GameController"), - n_users(0) + Thread("GameController") { launch(); }