Help on getting defult mame back

my brother was messin around with mame and for some reason i can’t change the controls cause got rid of the TAB key. I can’t get the menu to pop up where you can change controls. He edited tab and pressed enter so no when i press tab, the menu won’t show up. Someone tell me how to get this fix so i can fix my controls!!

try deleting the .cfg file.