Main Page | Data Structures | Directories | File List | Data Fields | Globals

mouse_shared.hch

Go to the documentation of this file.
00001 
00019 #ifndef _MOUSEDRIVER_SHARED_HCH
00020 #define _MOUSEDRIVER_SHARED_HCH 1
00021 
00022 /*** Data Types **********************/
00023 
00024 /*
00025  * Type definition of the shared memory to be used in various processes
00026  */
00027 typedef struct {
00028         unsigned 10 x, y;
00029         unsigned 3 state;
00030         unsigned 1 status;
00031 } mousedata_t;
00032 
00033 
00034 
00035 /*
00036  * States used to identify wether mouse data is updated
00037  */
00038 #define MOUSE_NOT_UPDATED       0
00039 #define MOUSE_UPDATED           1
00040 
00041 
00042 
00043 /*
00044  * Set of Mouse States defines
00045  */
00046 #define MOUSE_STATE_UP          0
00047 #define MOUSE_STATE_ON_PRESS    1
00048 #define MOUSE_STATE_DOWN        2
00049 #define MOUSE_STATE_ON_RELEASE  3
00050 
00051 
00052 
00053 #else
00054 #error "ERROR file mousedriver_shared.hch multiple times included"
00055 #endif /* --- _MOUSEDRIVER_SHARED_HCH --- */
00056 

Generated on Thu Dec 9 14:37:06 2004 for Graphic Equalizer 2 by  doxygen 1.3.9.1