Setup app: update, Mouse_cfg: small fix

git-svn-id: svn://kolibrios.org@5973 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-12-16 13:52:36 +00:00
parent 0cac0ba025
commit 4e3e119a57
2 changed files with 10 additions and 4 deletions

View File

@ -37,6 +37,6 @@ inline fastcall int GetMouseDoubleClickDelay() {
inline fastcall void SetMouseDoubleClickDelay(DL) { inline fastcall void SetMouseDoubleClickDelay(DL) {
$mov eax,18 $mov eax,18
$mov ebx,19 $mov ebx,19
$mov ecx,6 $mov ecx,7
$int 0x40 $int 0x40
} }

View File

@ -76,11 +76,16 @@ BootSettings:
mov edx,eax mov edx,eax
mcall 18,19,1 mcall 18,19,1
; Set mouse delay ; Set mouse acceleration
invoke ini.get_int, sz_ini, sz_mouse, sz_delay, 1 invoke ini.get_int, sz_ini, sz_mouse, sz_acceleration, 1
mov edx,eax mov edx,eax
mcall 18,19,3 mcall 18,19,3
; Set mouse double click delay
invoke ini.get_int, sz_ini, sz_mouse, sz_double_click_delay, 1
mov edx,eax
mcall 18,19,7
; Enable/disable LBA access for applications ; Enable/disable LBA access for applications
mov dword[param],0 mov dword[param],0
invoke ini.get_str, sz_ini, sz_low_level, sz_lba, param, 4, 0 invoke ini.get_str, sz_ini, sz_low_level, sz_lba, param, 4, 0
@ -466,7 +471,8 @@ sz_speaker db "speaker mute",0
sz_mouse db "mouse",0 sz_mouse db "mouse",0
sz_speed db "speed",0 sz_speed db "speed",0
sz_delay db "delay",0 sz_acceleration db "acceleration",0
sz_double_click_delay db "double_click_delay",0
sz_low_level db "low-level",0 sz_low_level db "low-level",0
sz_lba db "LBA",0 sz_lba db "LBA",0