ruffle-android icon indicating copy to clipboard operation
ruffle-android copied to clipboard

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

Open TheDoomCider opened this issue 2 years ago • 14 comments

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.

TheDoomCider avatar Jul 15 '23 14:07 TheDoomCider

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 avatar Jul 16 '23 11:07 torokati44

Is this on Android 13?

torokati44 avatar Jul 16 '23 12:07 torokati44

I'm using Android 12

TheDoomCider avatar Jul 16 '23 12:07 TheDoomCider

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

torokati44 avatar Jul 16 '23 12:07 torokati44

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

torokati44 avatar Jul 16 '23 12:07 torokati44

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 avatar Jul 16 '23 12:07 TheDoomCider

I am using the latest pre-built apk.

TheDoomCider avatar Jul 16 '23 12:07 TheDoomCider

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?

torokati44 avatar Jul 17 '23 10:07 torokati44

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.

TheDoomCider avatar Jul 17 '23 11:07 TheDoomCider

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

Spektralnerd avatar Jul 20 '23 18:07 Spektralnerd

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...

torokati44 avatar Jul 20 '23 18:07 torokati44

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

Spektralnerd avatar Jul 21 '23 08:07 Spektralnerd

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

torokati44 avatar Jul 21 '23 08:07 torokati44

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

huchao2007 avatar Apr 02 '24 11:04 huchao2007