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

Can't Interact with Games using touch screen or mouse - Anbernic RG505 #48

Open
TheDoomCider opened this issue Jul 15, 2023 · 14 comments
Open

Comments

@TheDoomCider
Copy link

Hi,
I just downloaded this app and I am able to load swf files. The issue is I can't click on anything in the games using the touchscreen. I tried Hot Wheels Spin City and Fairly Odd Parent Jingle Bell Jump. Currently, there is no way for me to "click" the play button since the touchscreen is not working in game. It works fine in the app just not the game. The device I am using is an Anbernic rg505.

@torokati44
Copy link
Member

Strange, I was able to play this Hot Wheels game on my Pixel 4a 5G just fine... :/
https://cdn.flasharch.com/uploads/archived/2022/11/14/21cd861ebb495888518deb3bf5ecdea5/main.swf

@torokati44
Copy link
Member

Is this on Android 13?

@TheDoomCider
Copy link
Author

I'm using Android 12

@torokati44
Copy link
Member

Yes sorry I was gonna ask that, I just typod it... 🤪

@torokati44
Copy link
Member

Does opening the URL I commented above not work either? In either device orientation?

@TheDoomCider
Copy link
Author

So, I got the same result with the url. I tried both orientations (the app would crash when I rotated it so I would launch it with the device pre-rotated). Just for giggles I plugged in a mouse and the mouse could not click the play button either.

@TheDoomCider
Copy link
Author

I am using the latest pre-built apk.

@TheDoomCider TheDoomCider changed the title Can't use touch screen to play mouse games Can't Interact with Games using touch screen or mouse - Anbernic RG505 Jul 16, 2023
@torokati44
Copy link
Member

Can you get the adb logcat of that device when trying to click things in games?
If so, do you see lines containing ruffle_android: touch: Touch printed there?

@TheDoomCider
Copy link
Author

TheDoomCider commented Jul 17, 2023

Ruffle-log.txt
Here is my logcat log file for Ruffle. That line is absent.

https://github.com/torokati44/ruffle-android/assets/24508166/8c14edcb-d5bb-4305-bd11-721d4ba24d6b
Here is a recording of every I did while logging.

@Spektralnerd
Copy link

Spektralnerd commented Jul 20, 2023

Had the same problem on my phone with Android 10.
The latest release fixed the touch problem but mouse input still does'nt work.

@torokati44
Copy link
Member

That's a bit strange, as I haven't yet done anything specifically to try to fix touch/mouse input... 😅
I'm glad it's better now anyway! Perhaps some of the dependency updates did it...

@Spektralnerd
Copy link

Just tested the version before again and touch worked there also. Must've been a problem with my phone. sorry for the confusion 😅

@torokati44
Copy link
Member

Hah, alright, no problem!
Nevertheless, I'll try to look into the mouse issue when I find the time...

@huchao2007
Copy link

Would like to add Bluetooth mouse functionality,Some shooting games are used

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

4 participants