Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_setratio()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_SETRATIO()


Syntax:        L_SETRATIO(<expN1>,<expN2>)


Purpose:       To set the Mouse Motion/pixel ratio.
               This value determines the resolution of the mouse
               movement.


Arguments:     <expN1> is the mickey value for horizontal movement.

               <expN2> is the mickey value for vertical movement.

               <expN1> and <expN2> must be in the range of 1 to 32767.


Returns:       Nothing.


Usage:         1 mickey is defined by Microsoft as 1/200th of an inch
               and defined by Mouse Systems as 1/100th of an inch.

               The number of mickeys the mouse must physically move to
               move the mouse cursor 8 pixels (1 character) determines
               how sensitive the mouse is.

               See appendix for default values.


Examples:      * set ratio of mouse movement
               L_SETRATIO(32,16)


Language:      Assembler

See Also: L_SETSPEED()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson