Mail Archives: djgpp/1998/08/21/15:17:34
Arndt Muehlenfeld wrote:
> The extended function byte in scan codes is E0h which is in fact 224.
> Make codes (key down) are distinguished from release codes (key up) by
> a F0h byte. For example, when Escape is pressed, the make code is 01h.
> Upon release the scan code bytes are F0h,01h.
> Extended functions:
> Right-Ctrl down: E0h,14h
> Right-Ctrl up: E0h,F0h,14h
That is incorrect. The release scan for escape is 0x81. The break code
is not preceded by 0xF0, it is OR'D (|) with 0x80.
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -