Using MOGS Chronoengine with a Xbox Controller?

So I’ve been trying to configure my Xbox controller with MOGS Chronoengine in RPG maker MV to be able to execute the buttons on the keyboard (ex: “z” key to attack, mapping it to X on the controller, “a” key to dash is A on the Controller, RB, and LB are Pageup and pagedown which are items and skills menus, etc..)
I’ve tried looking for solutions with different plugins and I’m so confused because they’re either too complex, or they’re in a different language.
I’ve even made my own plugin to try and see if it would work, but every time I connect my controller it disregards my desired control scheme and sticks to the control scheme that was there before that is very minimal for what I’m trying to achieve.
I know that I’ve seen people talk about common events and using those to be able to map out controller keys but I’m lost on how to execute something like that.
anyone want to maybe take a look at my controller plug-in and give me some directions on how I can implement my desired controller layout? Or maybe how you’d set up common events for certain keyboard key actions in chronoengine and turn those into button prompts for the controller? I’m still figuring this kind of stuff out, any help would be much appreciated!
You need to dig into the code for ChronoEngine and find what functions are called when you press a key that you defined in the ChronoEngine plugin parameter, then call that function in a common event. Then you use the gamepad plugin of your choice to assign a common event to a button.

Just a heads up, when you want to do these fancy custom things with ChronoEngine it's going to require you to dig into the code.
Thank you! Just to be clear can you give me an example on how I’d implement one of those events? I feel like as soon as I begin an event I don’t know what to put in to make the button prompt the action via my controller and where exactly would I find each prompt in the code? I looked through but there’s so many different lines that say similar things because of all the different battle systems implemented that it’s kind of confusing to figure out
1709256250994.png
Thank you! As I was looking through the chrono engine code to try to find the command for the skills and items and their respective menus to try and create prompts I was having a hard time figuring out what was what, do you know what the difference between using the skill and accessing the skill menu would look like? Other than that I feel like this example really helps a lot thank you! I’ll try it out in a little bit and let you know what happens!
$gamePlayer.commandRasWeapon()
$gamePlayer.commandRasSkill()
$gamePlayer.commandRasItem()
$gamePlayer.commandRasGuard()
$gamePlayer.commandToolMenuItem()
$gamePlayer.commandToolMenuSkill()
Thank you so much! Now I’m trying to figure out how to implement the events so they register to my plugin, what can I do to make the common events run? And do I put anything in the “()” at the end of each event script?
what can I do to make the common events run?
That's specific to whichever gamepad plugin you're using. You need to follow the instructions in the plugin to bind a common event to a button
And do I put anything in the “()” at the end of each event script?
No
That's specific to whichever gamepad plugin you're using. You need to follow the instructions in the plugin to bind a common event to a button

No
Okay got my common events in place and now I’m looking into the mano_input plugin again and seeing if that can trigger common events and I see it can but as for getting the functions to run they’re not working. I have my buttons mapped out via the “CommonEvent list” in the plugins parameters, I also saw there’s an “InputExtension” also in the Plugins parameters, to get the events to run would I put my events in both? Sorry for all the questions just really wanna learn how to solve my problem haha
Okay got my common events in place and now I’m looking into the mano_input plugin again and seeing if that can trigger common events and I see it can but as for getting the functions to run they’re not working. I have my buttons mapped out via the “CommonEvent list” in the plugins parameters, I also saw there’s an “InputExtension” also in the Plugins parameters, to get the events to run would I put my events in both? Sorry for all the questions just really wanna learn how to solve my problem haha
I don't know, I don't use that plugin. I tested the screencap I posted in Yanfly button common events and it worked, but it's only for keyboards AFAIK.
I don't know, I don't use that plugin. I tested the screencap I posted in Yanfly button common events and it worked, but it's only for keyboards AFAIK.
do you know of any other plugins that can run common events and be mapped to a controller?
Thank you! I was confused when I got to work today and realized I had been looking at the wrong plug-in because I had a few different ones I had been testing out.
I’m gonna test the this plugin with the common events in a little bit to see if there’s any change in controller controls.

Update: it seems easy enough to use but it the plug-in for whatever reason won’t register my button commands

Original thread: https://forums.rpgmakerweb.com/threads/using-mogs-chronoengine-with-a-xbox-controller.166320/