Add joystick access to the sandbox #149
Comments
|
I looked at the new bubblewrap-using code. Does: work if the device in question appears after the application has started? For joysticks, we really want to be able to use them even if the app is already started. |
But it's not currently building successfully, so disabled. The majority of the build goo is based on: https://github.com/thias/retroarch-fedora and the Fedora packages. See also: alexlarsson/xdg-app#149 alexlarsson/xdg-app#154
|
No. In fact, there is no great way to handle that at all, because to create bind mount such as those you need increased privileges, which we have only on startup. |
|
Good thing is that SDL, I'm guessing the primary "legacy" user for this feature, uses udev to discover devices, so we could put it anywhere we wanted in the /dev tree. We do compile SDL with udev support in the fd.o framework, right? |
|
No, we don't have udev in the runtime, because it needs the database created by udevd, and the udev people (kay) said it is not ABI stable across different versions. |
|
Then that means we can't implement this feature without patching ugly things into SDL :( |
|
Is it feasible to have the whole of This wouldn't fix hotplugging though. |
|
This issue was moved to flatpak/flatpak#7 |
As done in this patch:
0001-Add-support-for-accessing-joysticks.txt
The text was updated successfully, but these errors were encountered: