I've added a resolution dropdown list for a PC game with keyboard, mouse & controller input, however when using the arrow keys or controller to navigate the menu, I noticed the onValueChange callback gets called on each navigation.
Is it possible to instead treat this navigation like mouse over and only perform onValueChange when the user submits their choice (via the enter key or 'A' controller button for example)?
I'm currently changing the application's resolution in the onValueChange callback which causes jarring behavior when using the keyboard/controller. Aside from adding an 'Apply Changes' button to the options screen, I was wondering if there was another way.
Thanks!!