mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Apply suggestion from @slouken
This commit is contained in:
parent
bf3d650915
commit
d73ec9e4f8
1 changed files with 0 additions and 1 deletions
|
|
@ -71,7 +71,6 @@ public class SDLControllerManager
|
||||||
}
|
}
|
||||||
|
|
||||||
static void initializeDeviceListener() {
|
static void initializeDeviceListener() {
|
||||||
// TODO need SDL context here
|
|
||||||
InputManager im = (InputManager) SDL.getContext().getSystemService(Context.INPUT_SERVICE);
|
InputManager im = (InputManager) SDL.getContext().getSystemService(Context.INPUT_SERVICE);
|
||||||
im.registerInputDeviceListener(new SDLDeviceListener(), null);
|
im.registerInputDeviceListener(new SDLDeviceListener(), null);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue