Make initializeDeviceListener() and shutdownDeviceListener() public

This commit is contained in:
Sam Lantinga 2026-06-04 09:26:33 -07:00
parent 36c5809b09
commit 8549aae829

View file

@ -71,7 +71,7 @@ public class SDLControllerManager
}
}
static void initializeDeviceListener() {
static public void initializeDeviceListener() {
if (mDeviceListener == null) {
mDeviceListener = new SDLDeviceListener();
@ -80,7 +80,7 @@ public class SDLControllerManager
}
}
static void shutdownDeviceListener() {
static public void shutdownDeviceListener() {
if (mDeviceListener != null) {
InputManager im = (InputManager) SDL.getContext().getSystemService(Context.INPUT_SERVICE);
im.unregisterInputDeviceListener(mDeviceListener);