Leandro Nini
Leandro Nini
Yes, that's it. I see the standard buttons are not being mapped. @thrimbor is the flatpack built with SDL2? Gamepad support is quite limited with SDL1, even force-feedback is disabled.
Good, so the gampad should be supported. @Silicomancer can you please check your gamepad id with [SDL2 Gamepad Mapper](https://gitlab.com/ryochan7/sdl2-gamepad-mapper), or any similar software, if it matches the one in SDL?...
Ah, your controller's GUID is slightly different from the one in SDL. Try setting the following environment variable before running the game: ``` export SDL_GAMECONTROLLERCONFIG=" 03005036852100000201000010010000,FF-GP1,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,platform:Linux, " ``` More details...
Not familiar with flatpack but [flatpak-override](https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-override) --env seems to be what you're looking for.
My gamepad (a cheap xbox controler clone) is recognized out of the box ``` Joystick 0: Acquire successful! Buttons: 11 Name: Xbox 360 Controller Force-feedback: true It's a Game Controller,...
> You are right, Hurrican reacts in a different way. I don't see those mapping messages. But why? There must be some condition in the Hurrican code... what condition causes...
It seems Gamepad Mapper downloads the file from https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt But there's no exact matching in there too so I guess there's some magic going on. Would be interesting to look...
It looks like the GUID contains sub-fields, if there's no exact match a partial match is tried. https://github.com/libsdl-org/SDL/blob/4fa21ee5edb6f00ae9d3489961e659745bd4f4d8/src/joystick/SDL_gamecontroller.c#L2019 The FF-GP1 is included in the SDL2 db so it should be...
Fine, we can provide a copy of the game controller db in the data dir and load it at startup, it wouldn't hurt.
Samples are not a feature but a side effect, also there are different techniques for playing digis. I don't see an obvious way to mute them, maybe some sort of...