Reconfigurable Controls?

Does anyone else have custom controls in their Game Maker game? There's one in mine but I wanted to see if anyone had a more efficient method (mine's 300+ lines of code for the menu).