Move generic button_details struct to its own header file.