From 51ee05cb35f401c82adf815cbb4f4c3133e7ea84 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 3 Apr 2021 13:49:26 +0200 Subject: Android: Use input override system for touch controls This is the first step of getting rid of the controller indirection on Android. (Needing a way for touch controls to provide input to the emulator core is the reason why the controller indirection exists to begin with as far as I understand it.) --- Source/Android/jni/MainAndroid.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/Android/jni/MainAndroid.cpp') diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 49bf596571..1e80675d8d 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -302,13 +302,6 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetMotionSen ciface::Android::SetMotionSensorsEnabled(accelerometer_enabled, gyroscope_enabled); } -JNIEXPORT double JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetInputRadiusAtAngle( - JNIEnv*, jclass, int emu_pad_id, int stick, double angle) -{ - const auto casted_stick = static_cast(stick); - return ButtonManager::GetInputRadiusAtAngle(emu_pad_id, casted_stick, angle); -} - JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetVersionString(JNIEnv* env, jclass) { -- cgit v1.2.3