forked from KolibriOS/kolibrios
Console library: now '-' and '+' keypad keys work also when numlock is off.
git-svn-id: svn://kolibrios.org@4402 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
44977e8b83
commit
b0e83eec47
@ -1867,6 +1867,10 @@ con.key:
|
||||
cmp al, 0x46
|
||||
jz con.msg_loop
|
||||
mov edx, eax
|
||||
cmp dl, 0x4e
|
||||
je .numpad
|
||||
cmp dl, 0x4a
|
||||
je .numpad
|
||||
push 66
|
||||
pop eax
|
||||
push 3
|
||||
@ -1887,6 +1891,7 @@ con.key:
|
||||
jb .no_numlock
|
||||
cmp dl, 83
|
||||
ja .no_numlock
|
||||
.numpad:
|
||||
mov dh, [con.extended_numlock+edx-71]
|
||||
xchg dl, dh
|
||||
jmp .gotcode
|
||||
|
Loading…
Reference in New Issue
Block a user