New document describing input handling