00001 00019 #ifndef INC_MI32_XYDIG_H 00020 #define INC_MI32_XYDIG_H 00021 00022 #ifndef INC_MI32_POINT_H 00023 #include <mi32/point.h> 00024 #endif 00025 00026 00027 struct XYDIGTYPE { /* Accessed through Read/WriteDigRef() */ 00028 INT32 resolution; 00029 INT32 spare1; 00030 INT16 leftbtn; 00031 INT16 rightbtn; 00032 INT16 topbtn; 00033 INT16 bottombtn; 00034 INT16 middlebtn; 00035 INT16 calibtomap; 00036 DPOINT2D lowleft; 00037 DPOINT2D upright; 00038 }; 00039 00040 #if defined(__cplusplus) 00041 extern "C" { 00042 #endif 00043 00045 int MwintabInit (); 00046 00048 int MwintabFree (); 00049 00053 int MwintabGetEvent ( 00054 INT32* x, 00055 INT32* y, 00056 int BadEventValue 00057 ); 00058 00061 int MwintabGetDigStatus (); 00062 00063 #if defined(__cplusplus) 00064 } 00065 #endif 00066 00067 #endif
1.6.1