forked from KolibriOS/kolibrios
Function 2 (get the code of the pressed key) for AL = 0 in EAX bits 16-23 = contain scancode for pressed key
git-svn-id: svn://kolibrios.org@4588 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -151,7 +151,8 @@
|
||||
Возвращаемое значение:
|
||||
* если буфер пуст, возвращается eax=1
|
||||
* если буфер непуст, то возвращается al=0, ah=код нажатой клавиши,
|
||||
старшее слово регистра eax обнулено
|
||||
биты 16-23 содержат сканкод нажатой клавиши,
|
||||
биты 23-31 обнулены
|
||||
* если есть "горячая клавиша", то возвращается
|
||||
al=2, ah=сканкод нажатой клавиши (0 для управляющих клавиш),
|
||||
старшее слово регистра eax содержит состояние управляющих клавиш
|
||||
|
@@ -148,7 +148,9 @@ Parameters:
|
||||
Returned value:
|
||||
* if the buffer is empty, function returns eax=1
|
||||
* if the buffer is not empty, function returns al=0,
|
||||
ah=code of the pressed key, high word of eax is zero
|
||||
ah=code of the pressed key,
|
||||
bits 16-23 = contain scancode for pressed key,
|
||||
bits 23-31 = zero
|
||||
* if there is "hotkey", function returns al=2,
|
||||
ah=scancode of the pressed key (0 for control keys),
|
||||
high word of eax contains a status of control keys at the moment
|
||||
|
Reference in New Issue
Block a user