Got input working... rather crudely.