home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex067.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
429b
|
12 lines
// Example: 067 from Library Reference
#include "..\3D-Ware\dddware.h"
#include <stdio.h>
short num_buttons;
short main(void)
{
num_buttons = dddInitMouse(); // Init mouse and read number of mouse buttons.
// Print the number of buttons.
printf("The number of buttons on your mouse is %d",num_buttons);
return 0; // Bye.
}