game pad extender (vx ace) script

I am using an xbox 360 wireless controller.

I don't quite understand what changes to make.  As is, the game character just moves left-right, up-down,  

(I can control movement with left analog toggle) but the character does not stop moving.

Also, the only button that works is the 'B' button which brings up the menu.

I remember reading something about having to make changes in the game_player script and

the window_selectable script, but have no clue what to look for.

Any and all help will be appreciated.  Is there a demo out there I could check out?

Original thread: https://forums.rpgmakerweb.com/threads/game-pad-extender-vx-ace-script.23720/