diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-11-25 10:58:05 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-11-25 10:58:05 -0600 |
| commit | 7718c9959e6185cc72520072c28a07406c02e6ef (patch) | |
| tree | df9f46ac8a51eb40f1611f71ea42f22e34160d0d /Source/Core/DolphinWX/Src/MainAndroid.cpp | |
| parent | cb3dd6b94ba59ad7a8dac428db0c71e7ce66b3fe (diff) | |
[Android-overlay] Multiple physical gamepad support.
Diffstat (limited to 'Source/Core/DolphinWX/Src/MainAndroid.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Src/MainAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Src/MainAndroid.cpp b/Source/Core/DolphinWX/Src/MainAndroid.cpp index 949724bcf6..c0421d99e3 100644 --- a/Source/Core/DolphinWX/Src/MainAndroid.cpp +++ b/Source/Core/DolphinWX/Src/MainAndroid.cpp @@ -249,14 +249,14 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_onGamePadEve { const char *Device = env->GetStringUTFChars(jDevice, NULL); std::string strDevice = std::string(Device); - ButtonManager::GamepadEvent(strDevice, Button, Action); + ButtonManager::GamepadEvent(strDevice, (ButtonManager::ButtonType)Button, Action); env->ReleaseStringUTFChars(jDevice, Device); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_onGamePadMoveEvent(JNIEnv *env, jobject obj, jstring jDevice, jint Axis, jfloat Value) { const char *Device = env->GetStringUTFChars(jDevice, NULL); std::string strDevice = std::string(Device); - ButtonManager::GamepadAxisEvent(strDevice, Axis, Value); + ButtonManager::GamepadAxisEvent(strDevice, (ButtonManager::ButtonType)Axis, Value); env->ReleaseStringUTFChars(jDevice, Device); } |
