I did ask about it from Hatari developer. He told me that it has always been working in Linux and Hatari emulator. Should probably test..
Guess it’s a Retropie related thing? Any solutions? I’ve tried three different controllers with numerous settings. No luck.