Function 2 - get the code of the pressed key.

Takes away the code of the pressed key from the buffer. Parameters: Returned value: Remarks: