I dont know about custom action for Input Manager, still a topic ahead to research
About the movement, if setting gravity in Input manager not quite what you after,
could try to Interpolate the Speed variable you have.
When Horizontal is pressed Speed goes from 0 to x Speed in x seconds, if axis released Get current speed and interpolate to 0.
Hope others can suggest you about how to change input stuff at runtime.