Finished custom input handler (for now)