aboutsummaryrefslogtreecommitdiff
path: root/build/android
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-05-13 11:05:16 +0200
committerGitHub <noreply@github.com>2017-05-13 11:05:16 +0200
commit9b8ca3a746cdb9478a46939d36c30484a97255e1 (patch)
treec754605c7c955440a1d66d413a80f994d6b83006 /build/android
parent5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965 (diff)
downloadminetest-9b8ca3a746cdb9478a46939d36c30484a97255e1.tar.gz
minetest-9b8ca3a746cdb9478a46939d36c30484a97255e1.tar.bz2
minetest-9b8ca3a746cdb9478a46939d36c30484a97255e1.zip
Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)
* Move KeyList & InputHandler from game.h to client/inputhandler.h We have a header for inputs, move inputhandler class & related keylist object to it Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined * Pass clang-format on inputhandler.{cpp,h} (compatible)
Diffstat (limited to 'build/android')
-rw-r--r--build/android/jni/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/android/jni/Android.mk b/build/android/jni/Android.mk
index 44d98fada..7b741e04b 100644
--- a/build/android/jni/Android.mk
+++ b/build/android/jni/Android.mk
@@ -270,6 +270,7 @@ LOCAL_SRC_FILES := \
jni/src/settings.cpp \
jni/src/wieldmesh.cpp \
jni/src/client/clientlauncher.cpp \
+ jni/src/client/inputhandler.cpp \
jni/src/client/tile.cpp \
jni/src/client/joystick_controller.cpp \
jni/src/irrlicht_changes/static_text.cpp