integration of keyboardState. More than one key can be pressed at the same time