Recognition of keyboard presses.