home *** CD-ROM | disk | FTP | other *** search
- // 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.
- }
-