detects which keys can be pressed at once