Skip to content
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

Flatpak package doesn't support motion sensors. #509

Closed
pktiuk opened this issue Aug 13, 2022 · 6 comments
Closed

Flatpak package doesn't support motion sensors. #509

pktiuk opened this issue Aug 13, 2022 · 6 comments
Labels
bug Something isn't working packaging Every issue linked with providing and fixing packages for different distributions and systems

Comments

@pktiuk
Copy link
Member

pktiuk commented Aug 13, 2022

Motion sensor support introduced in #416 doesn't work with flatpak version.

Minimal SDL version required by this feature is 2.0.14. SDL in runtime is 2.0.16
App in this package doesn't see any sensors (API SDL_GameControllerHasSensor)
I think it may be caused by missing permission or another flatpak-only mechanism. IDK

image

@pktiuk pktiuk added bug Something isn't working packaging Every issue linked with providing and fixing packages for different distributions and systems labels Aug 13, 2022
@pktiuk
Copy link
Member Author

pktiuk commented Aug 13, 2022

@gombosg
Could you investigate this?

@gombosg
Copy link
Collaborator

gombosg commented Aug 16, 2022

Hey, I'm on vacation without computer this week. I'll take a look next week! :)

@heidiwenger

This comment was marked as off-topic.

@gombosg
Copy link
Collaborator

gombosg commented Aug 21, 2022

I can't test this, but have you tried giving additional Flatpak permissions like --device=all via Flatseal? Maybe that helps.

@pktiuk
Copy link
Member Author

pktiuk commented Aug 21, 2022

@gombosg
I launched app with flatpak run --device=all io.github.antimicrox.antimicrox
And it did not help.

@pktiuk
Copy link
Member Author

pktiuk commented Dec 6, 2022

After updating runtime everything seems to work fine flathub/io.github.antimicrox.antimicrox#17

@pktiuk pktiuk closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packaging Every issue linked with providing and fixing packages for different distributions and systems
Projects
None yet
Development

No branches or pull requests

3 participants