add input config writer

writes the input config after configuration 

known problems:
gamepad buttons currently don't work for me at all (#507)!