PS3 controller issue with hotkeys

Hi guys, I have an issue with Retroarch and two Playstation 3 controller with hotkeys enabled. I start the issue on libretro-fba github:

because the issue described appears only inside fba_libretro core, but maybe it’s related on Retroarch. In doubt I post also here.

EDIT: fixed, see the link above.