@Eliaquim I think by default gamepads already use A and B as OK and cancel (though this might depend on the plugin you're using to get gamepad input-- not sure if MV supports it by default), so you might not need to edit that. Is your problem that you can't initialize a chain command with s and a? You might have to add images for them into the chaincmd images folder.
Yes i know the gamepad work this way you are saying. If i put cancel and ok in the chain command and put the respectively letters in there, and rename it to ok and cancel it works.
My problem is that i want to add S and A in the chain command.
I can do that. I put the images of S and A and rename it to OK and CANCEL. It works on keyboard and for the buttons on the screen for mobile.
However, if i using a gamepad, i would like to show A and B image for the player who are using the joystick.
Of course i will make another chain command to show A and B instead of S and A.
Because the player can be confused seeing A and S instead of B and A of the joystick.
But i can only add one image for OK and CANCEL.
SO i would like to attach the image:
A - OK (joystick)
B - CANCEL (joystick)
A - OK (keyboard and mobile)
S - CANCEL (keyboard and mobile)
See if you understand now, sorry for bad english.
About the plugin, i tried to use one from yanfly. But not work as i want, so i edited the rpg core key mapper myself, but doens't work to.
If i can attach the joystick buttons to work as ok and cancel AND the keyboard buttons to work as A and S it will be ok! ^^