-
Notifications
You must be signed in to change notification settings - Fork 38
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
Gamepad support #52
base: master
Are you sure you want to change the base?
Gamepad support #52
Conversation
This depends on WebPlatformForEmbedded/libwpe#69 |
We have support in the WebKit GTK port to use libmanette for gamepad support, which would already cover some of the |
@aperezdc thank you for looking into this. I'll check if we can use libmanette and get back to you. I'd like to keep this pull request open in the meantime if that is ok. Thanks! |
@emutavchi: No problem at all, we can keep this PR open for now. Something that I was mulling over this weekend is that with the approach of having an interface in libwpe we can let embedders decide which web view gets the gamepad events directly (by means of their @emutavchi: Note that even if we end up adding the gamepad interface in libwpe, you might still want to use libmanette in WPEBackend-rdk so you can avoid writing most of the code that actually handles detecting devices, reading input events, remapping buttons (as it includes a mapper), and providing default mappings for many gamepads (libmanette includes a copy of SDL's button mappings database, which seems to be a de facto standard). |
@emutavchi do we need to keep this PR open? |
Hi, @woutermeek @aperezdc. sorry for the delayed response. @aperezdc, unfortunately, we cannot use libmanette at the moment due to dependency on the Meson build system. We're in the process of moving to the latest Yocto version. Migration of all devices will take some time. Until then I think it'd be good to have a simple, dependency less implementation. I'll prepare pull request for wpe-webkit repo showing the usage of the new API and update with the link to PR here. |
WPEWebKitt PR WebPlatformForEmbedded/WPEWebKit#692 |
No description provided.