Screen size change with controller

So I’ve been playing Ultra Sun with an wired xbox controller, I have HDMI running it to my monitor for an amazing 4k picture but Im wondering if there is a way to add the F10 button to my controller to change the screen settings because I like playing full top screen unless I enter a battle I change to side by side. An answer or suggestion would be appriated

Sorry, that’s not possible ATM, but it’s a planned feature and someone (jroweboy) was working on it previously.

So I actually figured it out but it requires another program. Worked perfectly