Function 18, subfunction 19 - get/set mouse features.
Subsubfunction 0 - get mouse speed.
Parameters:
- eax = 18 - function number
- ebx = 19 - subfunction number
- ecx = 0 - subsubfunction number
Returned value:
- eax = current mouse speed
Subsubfunction 1 - set mouse speed.
Parameters:
- eax = 18 - function number
- ebx = 19 - subfunction number
- ecx = 1 - subsubfunction number
- edx = new value for speed
Returned value:
- function does not return value
Subsubfunction 2 - get mouse delay.
Parameters:
- eax = 18 - function number
- ebx = 19 - subfunction number
- ecx = 2 - subsubfunction number
Returned value:
- eax = current mouse delay
Subsubfunction 3 - set mouse delay.
Parameters:
- eax = 18 - function number
- ebx = 19 - subfunction number
- ecx = 3 - subsubfunction number
- edx = new value for mouse delay
Returned value:
- function does not return value
Subsubfunction 4 - set mouse pointer position.
Parameters:
- eax = 18 - function number
- ebx = 19 - subfunction number
- ecx = 4 - subsubfunction number
- edx = [coordinate on axis x]*65536 + [coordinate on axis y]
Returned value:
- function does not return value
Remarks:
- It is recommended to set speed of the mouse (in subsubfunction 1)
from 1 up to 9. The installed value is not inspected by the kernel
code, so set it carefully, at incorrect value the cursor
can "freeze". Speed of the mouse can be regulated through the
application SETUP.
- Recommended delay of the mouse (in subsubfunction 3) = 10. Lower
value is not handled by COM mice. At the very large values the
movement of the mouse on 1 pixel is impossible and the cursor will
jump on the value of installed speed (subsubfunction 1). The
installed value is not inspected by the kernel code.
Mouse delay can be regulated through the application SETUP.
- The subsubfunction 4 does not check the passed value. Before
its call find out current screen resolution (with function 14)
and check that the value of position is inside the limits of the
screen.