antimicrox icon indicating copy to clipboard operation
antimicrox copied to clipboard

Flatpak package doesn't support motion sensors.

Open pktiuk opened this issue 1 year ago • 5 comments

Motion sensor support introduced in https://github.com/AntiMicroX/antimicrox/pull/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 avatar Aug 13 '22 11:08 pktiuk

@gombosg
Could you investigate this?

pktiuk avatar Aug 13 '22 11:08 pktiuk

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

gombosg avatar Aug 16 '22 07:08 gombosg

Maybe a snap package would be more suitable for a package technic? https://github.com/AntiMicroX/antimicrox/issues/100 i added something there about the confinement factor. If that plays a role.

heidiwenger avatar Aug 18 '22 19:08 heidiwenger

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

gombosg avatar Aug 21 '22 13:08 gombosg

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

pktiuk avatar Aug 21 '22 18:08 pktiuk