The buttons used for keyboard axis inputs can be set manually via Negative and Positive Button fields for the axis at Edit > Project Settings > Input Manager. However I'd like to make this a user configurable option which I think means needing to set the button values from a script.
I've been looking for a method along the lines of:
Input.SetAxis("Vertical").positveButton
But so far I'm striking out. Is there a way to do this?