MV YEP_ButtonCommonEvents, but for Controller/Gamepad?

I've recently started working on my various on-map utility skills for my project. I had installed YEP_ButtonCommonEvents long ago, but never really utilized it until now. Unfortunately, I just discovered that it only supports keyboard buttons. There's no mapping for a controller/gamepad at all. How can I get such functionality? I don't mind having to do hard edits to YEP_ButtonCommonEvents.js if necessary. (I make heavy edits to my plugins all the time.)

Edit: These are the key maps for the gamepad…
JavaScript:
Input.gamepadMapper = {
    0: 'ok',        // A
    1: 'cancel',    // B
    2: 'shift',     // X
    3: 'menu',      // Y
    4: 'pageup',    // LB
    5: 'pagedown',  // RB
    12: 'up',       // D-pad up
    13: 'down',     // D-pad down
    14: 'left',     // D-pad left
    15: 'right',    // D-pad right
};
…but there are unused buttons such as LT, RT, Back & Start.
1656963036541.png
Mano Input Config can do it.

Thank you kind sir or madam!

Original thread: https://forums.rpgmakerweb.com/threads/yep_buttoncommonevents-but-for-controller-gamepad.149176/