diff options
| author | JosJuice <josjuice@gmail.com> | 2022-08-14 11:32:22 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2023-03-03 22:28:24 +0100 |
| commit | 2b1dd52750c8c85796be4a6785fb769481ec191c (patch) | |
| tree | 770cc4cde9fc96414ecb57c6bd68c0f2e6caf91e /Source/Core/InputCommon/ControllerInterface | |
| parent | 2113bf5e3afface4acd072f677c620c60bd6edde (diff) | |
Android: Add input device selection
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Android/Android.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp index 811343bf73..d2ccec4bb3 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp @@ -1122,4 +1122,11 @@ Java_org_dolphinemu_dolphinemu_features_input_model_ControllerInterface_refreshD { g_controller_interface.RefreshDevices(); } + +JNIEXPORT jobjectArray JNICALL +Java_org_dolphinemu_dolphinemu_features_input_model_ControllerInterface_getAllDeviceStrings( + JNIEnv* env, jclass) +{ + return VectorToJStringArray(env, g_controller_interface.GetAllDeviceStrings()); +} } |
