This issue also happens when using an 8BitDo bluetooth controller on amiberry and mame-mame4all.