Input helper for tracking user input.