Italian keymap from fabrizio curcio, fixed belgian keymap.

git-svn-id: svn://kolibrios.org@3671 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-06-16 15:31:13 +00:00
parent d38208a79a
commit 56ff553539
2 changed files with 67 additions and 6 deletions

View File

@ -232,7 +232,7 @@ be_keymap_shift:
be_keymap_alt_gr: be_keymap_alt_gr:
db '6',27 db '6',27
db 28,'|@#',0,'^',0,0,'{}',0,0,8,9 db '|@#',0,0,'^',0,0,'{}',0,0,8,9
db 'azertyuiop[]',13 db 'azertyuiop[]',13
db '~qsdfghjklmエ`\',0,'wxcvbn',0,0,0,'~',0,'45 ' db '~qsdfghjklmエ`\',0,'wxcvbn',0,0,0,'~',0,'45 '
db '@234567890123',180,178,184,'6',176,'7' db '@234567890123',180,178,184,'6',176,'7'
@ -241,3 +241,43 @@ be_keymap_alt_gr:
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
it_keymap:
db '6',27
db '1234567890',39,0,8,9
db 'qwertyuiop',0,'+',13
db '~asdfghjkl',0,0,0,0,'<zxcvbnm,.-',0,'45 '
db '@234567890123',180,178,184,'6',176,'7'
db 179,'8',181,177,183,185,182
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
it_keymap_shift:
db '6',27
db '!"',0,'$%&/()=?^',8,9
db 'QWERTYUIOP',0,'*',13
db '~ASDFGHJKL',0,0,0,0,'>ZXCVBNM;:_',0,'45 '
db '@234567890123',180,178,184,'6',176,'7'
db 179,'8',181,177,183,185,182
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
it_keymap_alt_gr:
db '6',27
db 172,185,178,179,188,189,172,'{[]}',96,'~',8,9
db 'qwertyuiop[]',13
db '~asdfghjkl@#',0,'<zxcvbnm;:_',0,'45 '
db '@234567890123',180,178,184,'6',176,'7'
db 179,'8',181,177,183,185,182
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

View File

@ -172,7 +172,7 @@ no_close:
jmp nodownup jmp nodownup
;-------------------------------------- ;--------------------------------------
downuplbl: downuplbl:
mov eax,6 mov eax,7
;-------------------------------------- ;--------------------------------------
nodownup: nodownup:
mov [keyboard],eax mov [keyboard],eax
@ -182,7 +182,7 @@ nokm:
cmp ah,5 cmp ah,5
jnz nokp jnz nokp
mov eax,[keyboard] mov eax,[keyboard]
cmp eax,6 cmp eax,7
je updownlbl je updownlbl
inc eax inc eax
jmp noupdown jmp noupdown
@ -428,7 +428,7 @@ nosetkeylfr:
;-------------------------------------- ;--------------------------------------
nosetkeylet: nosetkeylet:
cmp [keyboard],6 ;belgian cmp [keyboard],6 ;belgian
jnz nosetkeylbe jnz nosetkeylit
mcall 21,2,1,be_keymap mcall 21,2,1,be_keymap
@ -438,8 +438,23 @@ nosetkeylet:
inc ecx inc ecx
mcall 21,,,be_keymap_alt_gr mcall 21,,,be_keymap_alt_gr
mcall 21,,9,5 mcall 21,,9,7
;-------------------------------------- ;--------------------------------------
nosetkeylit:
cmp [keyboard],7 ;italian
jnz nosetkeylbe
mcall 21,2,1,it_keymap
inc ecx
mcall 21,,,it_keymap_shift
inc ecx
mcall 21,,,it_keymap_alt_gr
mcall 21,,9,8
;--------------------------------------
nosetkeylbe: nosetkeylbe:
ret ret
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
@ -566,6 +581,12 @@ noet:
mov [text00+LLL*1+32],dword 'IAN ' mov [text00+LLL*1+32],dword 'IAN '
;-------------------------------------- ;--------------------------------------
nobe: nobe:
cmp eax,7
jnz noit
mov [text00+LLL*1+28],dword 'ITAL'
mov [text00+LLL*1+32],dword 'IAN'
;--------------------------------------
noit:
mov eax,[syslang] ; SYSTEM LANGUAGE mov eax,[syslang] ; SYSTEM LANGUAGE
dec eax dec eax
test eax,eax test eax,eax