You can modify the input configuration (in $HOME/.emulationstation/es_input.cfg) file and swap the A and B button inputs. As long as you re-configure your input, it won't be reset by EmulationStation.