forked from KolibriOS/kolibrios
Console: support for numpad keys '/', '*' and 'Enter'.
git-svn-id: svn://kolibrios.org@4384 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
77990d14e3
commit
774dedc4d6
@ -1917,12 +1917,33 @@ con.key:
|
|||||||
mov ecx, con.extended_alt
|
mov ecx, con.extended_alt
|
||||||
test al, 0x30
|
test al, 0x30
|
||||||
jnz .xlat
|
jnz .xlat
|
||||||
|
|
||||||
mov ecx, con.extended_shift
|
mov ecx, con.extended_shift
|
||||||
test al, 3
|
test al, 3
|
||||||
jnz .xlat
|
jnz .xlat
|
||||||
|
|
||||||
mov ecx, con.extended_ctrl
|
mov ecx, con.extended_ctrl
|
||||||
test al, 0xC
|
test al, 0xC
|
||||||
jnz .xlat
|
jnz .xlat
|
||||||
|
|
||||||
|
cmp dl, 28
|
||||||
|
jne @f
|
||||||
|
shl dx, 8
|
||||||
|
mov dl, 13
|
||||||
|
jmp .gotcode
|
||||||
|
@@:
|
||||||
|
cmp dl, 53
|
||||||
|
jne @f
|
||||||
|
shl dx, 8
|
||||||
|
mov dl, '/'
|
||||||
|
jmp .gotcode
|
||||||
|
@@:
|
||||||
|
cmp dl, 55
|
||||||
|
jne @f
|
||||||
|
shl dx, 8
|
||||||
|
mov dl, '*'
|
||||||
|
jmp .gotcode
|
||||||
|
@@:
|
||||||
xchg dl, dh
|
xchg dl, dh
|
||||||
cmp dh, 0x57
|
cmp dh, 0x57
|
||||||
jz @f
|
jz @f
|
||||||
|
Loading…
Reference in New Issue
Block a user