That will reset the whole lot. Sorry I misread your post, I thought that's what you wanted to do.
I don't have a 5D, but do have a 6D.
Enter the menu and find the menu for Custom functions.
Then Custom Functions Operations/Other
Then Custom Controls.
Here you should be able to choose your button and assign a function.