-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Controller Navigation Support #36
Comments
We have been researching this and it turned out to be much more complex than originally thought. It's therefore put on a extremely low priority. If someone with expertise about this topic wants to help out, please do! Here are the issues we have discovered:
These are the rules that Steam has to install to get access to gamepads:
Those in turn are complex rules which define which devices are joysticks and which ones aren't. We would NOT be able to do something similar in Cartridges. If we implement gamepad access, it would be the user's own job to configure their host to give all non-root users access to read gamepads, and that's way out of the scope of what we'd be able to assist anyone with (just look at the rules in the files above, if you have Steam installed, they're very complex). So if anyone's got more experience with solving Linux's gamepad situation and the issues above, then please help out! If not, we are unlikely to see gamepad support in Cartridges. |
Highscore has support for gamepad navigation. I'm not sure about sandboxing, permissions, and exclusive device access, but maybe it could help a little to check out what they did. |
Yeah, I've been looking into that. |
@sonnyp do you by any chance happen to know how you can get libmanette working inside of Flatpak? I haven't had much luck. Edit: Nevermind, as most things in life, it was a problem with my build configuration :) |
@kra-mo in case it's helpful: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/2217 (you can't use libmanette from org.gnome.Sdk) libmanette also has a working manifest example And if you need some kind of demo, @halfmexican built one for Workbench here |
If you are using Steam, you can enable Desktop Layout in controller settings. |
Ah! That's neat. It is actually using libei too, which makes sense. |
It would be great if the library can be navigated with a controller. Currently, it doesn't react to controller input.
The text was updated successfully, but these errors were encountered: