-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Controllers not supported with Android 12 #2254
Comments
duplicate from #2217, but at least it confirms the common denominator is android 12 behavior. |
Get a samsung s21 or something it recently got the update.
…On Thu, Nov 18, 2021, 3:12 PM Boulay Mathias ***@***.***> wrote:
duplicate from #2217
<#2217>, but at
least it confirms the common denominator is android 12 behavior.
Sadly I don't have an android 12 device, so looking at this matter is
going to take some time
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGZLOLO5LQQVOY2XFMJMYX3UMVT4NANCNFSM5IKSNCKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@Timbo303 no problem, just buy me one 😂 |
😂😂😂😂 |
Also happening here android 12 s21 ultra |
New control revision doesn't seem to fix it by the way |
Known, the small cleanup PR will though |
Ok awesome! Is there any github action to get a build of that pr? |
Not yet, but you won't have to wait too much |
merged |
Describe the bug
Any Controller I try crashes the entire game after one single controller input. Everything else works just fine otherwise.
java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.reflect.Field.setInt(java.lang.Object, int)' on a null object reference
at net.kdt.pojavlaunch.customcontrols.gamepad.GamepadDpad.setDummyEventKeycode(GamepadDpad.java:76)
at net.kdt.pojavlaunch.customcontrols.gamepad.GamepadDpad.convertEvent(GamepadDpad.java:67)
at net.kdt.pojavlaunch.customcontrols.gamepad.Gamepad.update(Gamepad.java:158)
at net.kdt.pojavlaunch.BaseMainActivity.dispatchGenericMotionEvent(BaseMainActivity.java:593)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchGenericMotionEvent(WindowCallbackWrapper.java:79)
at com.android.internal.policy.DecorView.dispatchGenericMotionEvent(DecorView.java:958)
at android.view.ViewRootImpl$ViewPostImeInputStage.processGenericMotionEvent(ViewRootImpl.java:7724)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7442)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6773)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6830)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6796)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6994)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6804)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:7051)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6777)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6830)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6796)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6804)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6777)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6830)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6796)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:7027)
at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:7214)
at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:3387)
at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:2948)
at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:2939)
at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:3364)
at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:154)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:186)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:563)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)
The log file and images/videos
No response
Steps To Reproduce
Expected Behavior
Basically not a crash
Platform
Anything else?
No response
The text was updated successfully, but these errors were encountered: