Technical Showcase: Bridging the gap between Ruffle and Touch Screens via Shadow DOM penetration #23236
Unanswered
coocoodaegap
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've been exploring ways to enhance the accessibility of archived Flash-based web content on mobile devices using Ruffle. In the process, I encountered several technical hurdles regarding Ruffle’s input handling, and I wanted to share the architectural solutions I implemented.
I've encapsulated the logic into an open-source engine called OmniPad.
The Technical Challenges:
elementFromPointineffective for virtual cursors. I implemented a recursive penetration logic usingelementsFromPointto resolve the deepest target without breaking the headless architecture.Demonstration:
Play on mobile browser:
omnipad1.mp4
Play with X-Box gamepad:
omnipad2.mp4
Current Status:
The MVP is complete and published. Due to limited personal bandwidth, I’m moving the project into Maintenance Mode. I’m sharing this here in hopes it might help other developers struggling with mobile-web-emulation.
Repo: https://github.com/omnipad-js/OmniPad
Demo: https://omnipad-demo.coocoodaegap.com/
I'd love to hear your thoughts on the event simulation approach!
Beta Was this translation helpful? Give feedback.
All reactions