mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-22 00:41:14 +00:00
Make initializeDeviceListener() and shutdownDeviceListener() public
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user