diff options
| author | JosJuice <josjuice@gmail.com> | 2021-04-03 13:49:26 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2022-10-03 22:04:09 +0200 |
| commit | 51ee05cb35f401c82adf815cbb4f4c3133e7ea84 (patch) | |
| tree | c6e206df257937e8373aeeb012e29ea74f0d0fc7 /Source/Android/jni/MainAndroid.cpp | |
| parent | b296248b49d3cfe130756feda5941d717fdba75d (diff) | |
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.)
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
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<ButtonManager::ButtonType>(stick); - return ButtonManager::GetInputRadiusAtAngle(emu_pad_id, casted_stick, angle); -} - JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetVersionString(JNIEnv* env, jclass) { |
