Controller profile for Arcade (MAME) games

I have some old generic Logitech controller that looks like PS1 controller and I want to play some oldies using MAME 2003 emulator with it but when I run a game and go to “Controls” and have only default (Xbox 360) profile. I have installed PS1 gamepad profile and some other profiles that I could map with my controller but I cannot see them in a list of available profiles when game starts. On the other hand, I cannot map my controller to Xbox 360 profile since I lack lot of buttons.

Why Kodi is not showing me other profiles when game starts?