Skip to content
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

GUIDE: Fixing touch issues with Android 11 & 12 #105

Open
Eidenz opened this issue Nov 20, 2021 · 9 comments
Open

GUIDE: Fixing touch issues with Android 11 & 12 #105

Eidenz opened this issue Nov 20, 2021 · 9 comments

Comments

@Eidenz
Copy link

Eidenz commented Nov 20, 2021

Hello there,

I'm writing this for anyone who might have touch issues when using the app on newer android versions.

The problems:

  • whatever you do, the screen does not respond to touch inputs
  • you can "unstuck" the screen by touching it with 5 fingers, but your gamepad doesn't work

Why is this happening?
Android keeps on adding extra security with newer updates, and they added one in Android 12 (and some A11 devices) which prevent any untrusted apps from simulating touch inputs, such as Panda Gamepad.

The solution:
You must allow untrusted apps to simulate touch inputs or add Panda Gamepad as a trusted app. Here's how:

prerequisites:

  • USB debugging enabled
  • USB debugging (Security Settings) / grant permissions via USB enabled
  • Install via USB enabled (might not be required)

Doing it yourself (you need to be in an ADB environment, since you will be running ADB commands):

  • Activate Panda Gamepad (following their tutorial)
  • Open a CMD and type the following command: adb shell settings put global block_untrusted_touches 0

Using the .bat file I attached to this issue:

  • Activate Panda Gamepad (following their tutorial)
  • Unzip the Fix_Touch file to the same folder as your Panda Gamepad activator and start "Fix_Touch.bat"

Fix_Touch.zip

@sergio-vilchis
Copy link

Genius!

@Gseed59
Copy link

Gseed59 commented Dec 14, 2021

Thanks for this... But now. The screen is ok.. controller work on Android .. but all button didnt work when i launch a game.... Idea ?

@Xwicked-knightX
Copy link

yes this fixs the mouse clicks not working, but keyboard key presses still not functioning..? And Ideas there?

@Eidenz
Copy link
Author

Eidenz commented Jan 2, 2022

Sorry, no idea about keyboard issues.. This guide is focused around gamepads and touch issues.

@yh888
Copy link

yh888 commented Jan 16, 2022

I updated Android 12 and then I couldn't use the touch screen, I solved it according to your solution, however it still doesn't map properly. Now decided to downgrade Android version

@Eidenz
Copy link
Author

Eidenz commented Jan 17, 2022

I updated Android 12 and then I couldn't use the touch screen, I solved it according to your solution, however it still doesn't map properly. Now decided to downgrade Android version

Please make sure you did not turn off USB debugging afterward. It needs to stay on at all times if you want to use the app.

@Rafael-Nicolau
Copy link

Hello, currently on a Edge e20pro with android 11 on it. I tried the fix, didn't work.
I let USB debugging on, off course, activates perfectly, but can't find on this phone the option to grant permissions via USB,
Your fix also says it has completed the task, but it still don't work.
Don't know, but is the project abandoned? Haven't seen nothing new in the last months...

@azadiran59
Copy link

سلام
پس از به‌روزرسانی جدید اندروید (12) می‌توانم برنامه پاندا موس پرو فعال کنم. ولی وقتی داخل بازی میرم نه موس و نه کیبورد کار نمیکنه. کسی کمکم کنه . دیگه کلافه شدم میخوام دانگرید کنم

@Bion88
Copy link

Bion88 commented May 17, 2022

How to restore this setting?
can you create a .bat file?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants