aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-12-12 13:58:46 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-12-12 13:58:46 +0100
commitf783f59392f5e86c5645195521b2fa008ffe4fe7 (patch)
treec6f7fb85797f370033af7954fdbce2403a1df07c /src/client/game.cpp
parent8b58465aa1d63e5f6dbbd9a7a43bfa7dc257c4de (diff)
downloaddragonfireclient-f783f59392f5e86c5645195521b2fa008ffe4fe7.tar.xz
Make GitHub Actions Happy try 1
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 69feeef97..5893e8ac9 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -3373,6 +3373,26 @@ void Game::readSettings()
m_does_lost_focus_pause_game = g_settings->getBool("pause_on_lost_focus");
}
+bool Game::isKeyDown(GameKeyType k)
+{
+ return input->isKeyDown(k);
+}
+
+bool Game::wasKeyDown(GameKeyType k)
+{
+ return input->wasKeyDown(k);
+}
+
+bool Game::wasKeyPressed(GameKeyType k)
+{
+ return input->wasKeyPressed(k);
+}
+
+bool Game::wasKeyReleased(GameKeyType k)
+{
+ return input->wasKeyReleased(k);
+}
+
/****************************************************************************/
/****************************************************************************
Shutdown / cleanup