Turbo C and the Mouse Driver
Chris Bloom
bloom at fortune.UUCP
Fri Mar 25 03:20:23 AEST 1988
I have spent a great deal of time trying to interface my logitech mouse
to a Turbo C program via the Mouse Systems Mouse Driver. First off, the
version of the mouse driver I have does not directly support Turbo C. But
I have found the best results using the Lattice C mouse call. All other
mouse calls crash the program.
The problem I am having occurs when I make the mouse(&m1,&m2,&m3,&m4)
call and m1=1. This call retrieves the mouses current x (m3) and y
(m4) values and which button is pressed (m2). For some reason the
values of m2, m3, and m4 end up in other variables in my program.
I cannot figure this out.
Has anyone else had this mouse problem ?
--> Christopher B. Bloom
More information about the Comp.lang.c
mailing list