FYI I confirmed this does work, but you must do the following -
Must have the latest version of cfg magician 162
For some reason when cfg magician automatically copies the cfg folder over the the mame/cfg directory it changes the inputs on its own. Must manually copy the cfg files from the New CFG files in the cfg magician directory over to the mame cfg folder.
Finally for some strange reason cfg magician doesn't let me see the okay button at the bottom for 1 button controls and 6 button controls. For these i had to click on player 4 controls, select a weird button (like button 13), and hit control and enter to make it process.