Revert "[REVERTME]: Break GLFW fto test SDL"

This reverts commit 60f05781f9120ec0e1136c67fcc859b652215766.
This commit is contained in:
alexytomi
2025-09-01 20:47:09 +08:00
parent be665c9c21
commit 16eb54ca25

View File

@@ -196,6 +196,10 @@ public class CallbackBridge {
@SuppressWarnings("unused")
@Keep
private static void onDirectInputEnable() {
Log.i("CallbackBridge", "onDirectInputEnable()");
DirectGamepadEnableHandler enableHandler = Tools.getWeakReference(sDirectGamepadEnableHandler);
if(enableHandler != null) enableHandler.onDirectGamepadEnabled();
sGamepadDirectInput = true;
}
//Called from JRE side