remove obselete repetitive method for updating boolean variables for keyboard input.