home *** CD-ROM | disk | FTP | other *** search
- /*
- * m_light_pen.c
- *
- * Public Domain (p) March 1990 By Rodney Loos
- * Syntax modified by S. Sampson
- */
-
- #include "mouse.h"
-
- /*
- * Function to switch the light pen emulation mode on or off.
- * On by default, after initialization.
- *
- * 0 turns it on, any other value turns it off.
- */
-
- void m_light_pen(int on_off)
- {
- __Mpar->m1 = (on_off ? 13 : 14);
- mouse(__Mpar);
- }