Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>msm_init</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
msm_init

Usage

   #include <msmouse.h>
   int msm_init(void);

Description

   Initializes the mouse driver. This function turns off all mouse

   interrupts and turns on light pen emulation, it is required before any
   other mouse functions are used.

   If in graphics mode the cursor is set to be an arrow, if in text mode, it
   is set to be inverse video. The cursor is positioned in the middle of
   screen, the cursor display is turned off and the min/max cursor position
   is set to the full screen dimensions. Finally, the mickey/pixel ratio is
   set to1/1 in the x direction and 2/1 in the y direction.

Return Value

   Returns -1 if successful, otherwise 0 if initialization failed. Failure
   may indicate no mouse driver is present.

See Also

   msm_term



See Also: msm_term

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