diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-11 03:28:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-11 03:28:22 +0300 |
commit | cc2850190082b6feb3e5b6ccb5941caa91e36a7b (patch) | |
tree | db540e422e4195b4488e6cdcdc98e8c4f5471457 /src | |
parent | a54f29e3313c2eb60369055731b0f50bd2ff20a3 (diff) | |
download | plus-cc2850190082b6feb3e5b6ccb5941caa91e36a7b.tar.gz plus-cc2850190082b6feb3e5b6ccb5941caa91e36a7b.tar.bz2 plus-cc2850190082b6feb3e5b6ccb5941caa91e36a7b.tar.xz plus-cc2850190082b6feb3e5b6ccb5941caa91e36a7b.zip |
Initialize joystick and keyboard mapping in game start.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 902411f69..a564cd4b2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -172,6 +172,10 @@ static void initEngines() DepricatedEvent::trigger(CHANNEL_GAME, DepricatedEvent(EVENT_ENGINESINITALIZED)); + + keyboard.update(); + if (joystick) + joystick->update(); } /** |