Input class created with isKeyPressed()