Mapping Hotkeys?

In the RetroArch wiki I see there is a list of hotkeys which allow access while in game to things like the quick menu, exiting the game, etc. How do you map these to gamepad buttons? I use an Xbox One controller to play my games but I do not see a way to exit the game I am playing to return to the menu in order to select another game. I also would like to map a shortcut to save and load state. These buttons would probably need to be core specific since each core has different controls.

Yes.

Start/Return put it back to default. Or you can edit retroarch.cfg.

Can this method be applied to Retroarch if Iā€™m using a classic console, in my case the Genesis classic console.

Thanks in advance