Added belgian keymap to setup program.

git-svn-id: svn://kolibrios.org@3221 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-02-03 22:01:05 +00:00
parent 15cb7df159
commit b1255773b2
2 changed files with 592 additions and 529 deletions

View File

@ -200,3 +200,44 @@ et_keymap_shift:
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
be_keymap:
db '6',27
db '&é"',39,'(§č!çŕ)-',8,9
db 'azertyuiop^$',13
db '~qsdfghjklmůľ<',0,'wxcvbn,;:=',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'
be_keymap_shift:
db '6',27
db '1234567890°_',8,9
db 'AZERTYUIOP¨*',13
db '~QSDFGHJKLM%Ł>',0,'WXCVBN?./+',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'
be_keymap_alt_gr:
db '6',27
db 28,'|@#',0,'^',0,0,'{}',0,0,8,9
db 'azertyuiop[]',13
db '~qsdfghjklm´`\',0,'wxcvbn',0,0,0,'~',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

@ -20,6 +20,8 @@
; I. Poddubny - fixed russian keymap
;14/08/06 Mario79 - added regulation of mouse features
;-------------------------------------------------------------------------------
format binary as ""
use32
org 0x0
@ -170,7 +172,7 @@ no_close:
jmp nodownup
;--------------------------------------
downuplbl:
mov eax,5
mov eax,6
;--------------------------------------
nodownup:
mov [keyboard],eax
@ -180,7 +182,7 @@ nokm:
cmp ah,5
jnz nokp
mov eax,[keyboard]
cmp eax,5
cmp eax,6
je updownlbl
inc eax
jmp noupdown
@ -425,6 +427,20 @@ nosetkeylfr:
call alt_gen
;--------------------------------------
nosetkeylet:
cmp [keyboard],6 ;belgian
jnz nosetkeylbe
mcall 21,2,1,be_keymap
inc ecx
mcall 21,,,be_keymap_shift
inc ecx
mcall 21,,,be_keymap_alt_gr
mcall 21,,9,5
;--------------------------------------
nosetkeylbe:
ret
;-------------------------------------------------------------------------------
alt_gen:
@ -544,6 +560,12 @@ nofr:
mov [text00+LLL*1+32],dword 'NIAN'
;--------------------------------------
noet:
cmp eax,6
jnz nobe
mov [text00+LLL*1+28],dword 'BELG'
mov [text00+LLL*1+32],dword 'IAN '
;--------------------------------------
nobe:
mov eax,[syslang] ; SYSTEM LANGUAGE
dec eax
test eax,eax