You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compile SDL2 with SDL_HIDAPI_DISABLED equals 1 and start the application it crash due this line: mHIDDeviceManager = HIDDeviceManager.acquire(this); in SDLActivity.java. Setting mHIDDeviceManager = null; solves the crash.
Seems that when use HIDDeviceManager the call to native function is the problem, this functions are not defined due SDL_HIDAPI_DISABLED.
My suggest is set some stub function when SDL_HIDAPI_DISABLED is 1.