Is it possible to call the controls?

Is it possible to have a script call (it'd probably return an array if it's possible) that returns the name/some sort of identification for what the player's control scheme is? It'd be extremely helpful for setting up a tutorial as I'd be able to, with a bit of work, set up messages like:
"Press C to attack! (Button 3 on Gamepad: Space, X, or Enter on Keyboard)."

Technically, this message works fine if the player uses the default configuration, but it'd be nice to be able to have a working tutorial even if the player does tinker with the control configuration.
how about doing it the other way around: making the tutorial begin with a description of how to change the button configuration through the F1 configuration, and then refering to the keys by "this is space in default unless you changed it in configuration".

Because I don't remember any reference to that configuration data at all, and that means it is most likely in the hidden classes and the registry. Especially because it is computer-specific, NOT game-specific (all games will remember the same configuration set for the players computer).
Especially because it is computer-specific, NOT game-specific (all games will remember the same configuration set for the players computer).
I figured, and it's not a big deal if it can't be done. I just figured it's worth looking into.
how about doing it the other way around: making the tutorial begin with a description of how to change the button configuration through the F1 configuration, and then refering to the keys by "this is space in default unless you changed it in configuration".
That's basically what I did the last time it came up. It definitely works to solve the overall problem, but it'd be cool if it can be done.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-call-the-controls.131446/