Prof Hawking is able to compose sentences by selecting one letter at a time on a screen by using his cheek to stop a cursor that automatically scans across a keyboard. His facial movement is detected by an infrared switch that is mounted on his spectacles.