create_input function

Create a new interactive "input" object.