diff options
Diffstat (limited to 'doc/keys.txt')
-rw-r--r-- | doc/keys.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/keys.txt b/doc/keys.txt index bccd47a..1ea8d9b 100644 --- a/doc/keys.txt +++ b/doc/keys.txt @@ -8,12 +8,6 @@ the top 24 bits indicate several flags. these are seen in table 2, where bit 0 is the lowest bit of the second lowest byte of the keycode, and bit 23 is the highest bit of the highest byte of the keycode. -the "get key" system call returns 0 if there is not a key available. it is -recommended to make the system call and, if it returns 0, yield to the scheduler -and then loop back to making the system call. this way your task does not block -the cpu while waiting for keyboard input. see the "get_key_char" function in -user.c of the "knob" library for an example of this. - table 1: @@ -50,7 +44,7 @@ table 1: 0xaa | F11 0xab | F12 0xac | unassigned - .... | unassigned + ... | unassigned 0xaf | unassigned 0xb0 | numpad 0 0xb1 | numpad 1 |