unity key remap runtime

How would I set up a button to connect to inputmanager. I want it to display preset key value then when the user clicks it I want the button to change to the key that they pressed?

Unity doesn’t have that functionality, so you’d have to make your own input manager, or get one from the asset store.