VNC Viewer: fixed bug in extended scancode handler.

git-svn-id: svn://kolibrios.org@5755 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2015-08-20 16:42:04 +00:00
parent 6ea4f3a37b
commit 959f96c675

View File

@ -262,6 +262,7 @@ key:
test ah, 0x80 ; key up?
jnz @f
inc al
and ah, 0x7f
@@:
mov byte[KeyEvent.down], al
@ -293,6 +294,14 @@ key:
mcall 2
shr eax, 8
jz mainloop
xor ah, ah
test al, 0x80 ; key up?
jnz @f
inc ah
@@:
mov byte[KeyEvent.down], ah
and ax, 0x007f
.no_numlock:
mov ax, [keymap+eax*2]
.key: