Microsoft KB Archive/19856

Function 15 - Set Mickey/Pixel Ratio PSS ID Number: Q19856 Article last modified on 05-14-1993 PSS database name: H_Mouse

1.x 2.x 3.x 4.x 5.x 6.x 7.x 8.x 9.00

MS-DOS

Summary:

The following mouse function allows a program to control the sensitivity of the mouse motion:

FUNCTION 15: - SET MICKEY/PIXEL RATIO Inputs: AX = 15 CX = Mickey/pixel ratio (horizontal) DX = Mickey/pixel ratio (vertical) Outputs: None

The mickey/pixel ratio(s) may be set to any value from 1 to 32767. The default ratio is 8 mickeys to 8 pixels horizontal, and 16 mickeys to 8 pixels vertical. This yields about 3.2 inches physical mouse horizontal travel, and about 2 inches physical mouse vertical travel, for full top-left to lower-right screen cursor displacement. The larger the ratio, the more the mouse must be moved. The smaller the ratio, the less the mouse must be moved. Avoid sending a zero (0) parameter.

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Copyright Microsoft Corporation 1993.