Nonliniear mouse control option

git-svn-id: svn://kolibrios.org@5853 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin
2015-10-20 23:01:43 +00:00
parent 4054b22aaa
commit cb95c307f3
2 changed files with 46 additions and 23 deletions

View File

@@ -2571,11 +2571,12 @@ sysfn_mouse_acceleration: ; 18.19 = set/get mouse features
mov [mouse_speed_factor], dx
ret
.get_mouse_delay:
mov eax, [mouse_delay]
xor eax, eax
mov al, [mouse_delay]
mov [esp+32], eax
ret
.set_mouse_delay:
mov [mouse_delay], edx
mov [mouse_delay], dl
@@:
ret
.set_pointer_position: