Yes. Button mapping for the G25 is done under options. There is no G25 listed but it will work if you use the DFP button mapping.
edit: Oops, you said G27. I don't have one but I believe the same applies. From what I have heard, the buttons can be mapped but, the buttons on the right will all function the same and same goes for the buttons on the left.