forked from KolibriOS/kolibrios
Setup app: update, Mouse_cfg: small fix
git-svn-id: svn://kolibrios.org@5973 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0cac0ba025
commit
4e3e119a57
@ -37,6 +37,6 @@ inline fastcall int GetMouseDoubleClickDelay() {
|
||||
inline fastcall void SetMouseDoubleClickDelay(DL) {
|
||||
$mov eax,18
|
||||
$mov ebx,19
|
||||
$mov ecx,6
|
||||
$mov ecx,7
|
||||
$int 0x40
|
||||
}
|
@ -76,10 +76,15 @@ BootSettings:
|
||||
mov edx,eax
|
||||
mcall 18,19,1
|
||||
|
||||
; Set mouse delay
|
||||
invoke ini.get_int, sz_ini, sz_mouse, sz_delay, 1
|
||||
; Set mouse acceleration
|
||||
invoke ini.get_int, sz_ini, sz_mouse, sz_acceleration, 1
|
||||
mov edx,eax
|
||||
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
|
||||
mov dword[param],0
|
||||
@ -466,7 +471,8 @@ sz_speaker db "speaker mute",0
|
||||
|
||||
sz_mouse db "mouse",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_lba db "LBA",0
|
||||
|
Loading…
Reference in New Issue
Block a user