diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2005-02-23 11:12:29 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2005-02-23 11:12:29 (GMT) |
commit | b93369af2cd1d2b5ac20669e83cb07feca349462 (patch) | |
tree | 1dbede53904ab7049c9bd1e84db9ddd566e0336d /Graphic_Equalizer_v1.0/include/mouse_shared.hch | |
parent | b963bb96ad16a41b3393027c4794f4141f94d913 (diff) | |
download | TASS-b93369af2cd1d2b5ac20669e83cb07feca349462.zip TASS-b93369af2cd1d2b5ac20669e83cb07feca349462.tar.gz TASS-b93369af2cd1d2b5ac20669e83cb07feca349462.tar.bz2 |
Version 1.0
Diffstat (limited to 'Graphic_Equalizer_v1.0/include/mouse_shared.hch')
-rw-r--r-- | Graphic_Equalizer_v1.0/include/mouse_shared.hch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Graphic_Equalizer_v1.0/include/mouse_shared.hch b/Graphic_Equalizer_v1.0/include/mouse_shared.hch new file mode 100644 index 0000000..58d22a7 --- /dev/null +++ b/Graphic_Equalizer_v1.0/include/mouse_shared.hch @@ -0,0 +1,57 @@ +/*! \file mouse_shared.hch
+ *
+ * \section generic Shared definitions etc.
+ *
+ * \section project Project information.
+ * Project Graphic Equalizer\n
+ * \author O.M. Schinagl
+ * \date 20041011
+ * \version 0.1
+ *
+ * \section copyright Copyright
+ * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
+ *
+ * \section history Change history
+ * 20041011: O.M. Schinagl\n Initial version
+ *
+ *****************************************************************************/
+
+#ifndef _MOUSEDRIVER_SHARED_HCH
+#define _MOUSEDRIVER_SHARED_HCH 1
+
+/*** Data Types **********************/
+
+/*
+ * Type definition of the shared memory to be used in various processes
+ */
+typedef struct {
+ unsigned 11 x;
+ unsigned 11 y;
+ unsigned 3 state;
+ unsigned 1 status;
+} mousedata_t;
+
+
+
+/*
+ * States used to identify wether mouse data is updated
+ */
+#define MOUSE_NOT_UPDATED 0
+#define MOUSE_UPDATED 1
+
+
+
+/*
+ * Set of Mouse States defines
+ */
+#define MOUSE_STATE_UP 0
+#define MOUSE_STATE_ON_PRESS 1
+#define MOUSE_STATE_DOWN 2
+#define MOUSE_STATE_ON_RELEASE 3
+
+
+
+#else
+#error "ERROR file mousedriver_shared.hch multiple times included"
+#endif /* --- _MOUSEDRIVER_SHARED_HCH --- */
+
|