MZ Visustella Key Binding - Show key (icon) on message

Hi people!

Question: a few months ago, Visustella implemented the option for control remapping (Keyboard and Controller Rebinding Visustella Options Core [v1.26]).It works great, but there’s something I don’t know how to do. There are parts of my game where I’d like to add phrases that say "press the action button to do x thing," but I want the icon of the key the player assigned to the action button to appear instead of the text "action button."In the menus (Visu Menu Core), it adapts automatically (main menu and battle as well (Example: when activating Autobattle), but I’m not sure if there’s a message code or way to read the assigned key/button to dynamically display this information based on what the player has done.

I’m attaching some images to help explain better what I mean.

I want "Z" key to change to whatever key/button the player binds to the action key (and all others like: cancel, run, etc.).

Any ideas? Thanks in Advance!!!

1734118387823.png


1734118372236.png

Original thread: https://forums.rpgmakerweb.com/threads/visustella-key-binding-show-key-icon-on-message.173892/