diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-10 12:45:18 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-10 12:45:18 (GMT) |
commit | 9451e82004bb59a95d9589058759169c1c486c91 (patch) | |
tree | 991c9238e4290ed097f0d02494dc80c0f10c68f1 /Graphic_Equalizer/include/mouse_shared.hch | |
parent | b7b9f1ff4da4dae9d4c14ee5e03a7555b254c31c (diff) | |
download | TASS-9451e82004bb59a95d9589058759169c1c486c91.zip TASS-9451e82004bb59a95d9589058759169c1c486c91.tar.gz TASS-9451e82004bb59a95d9589058759169c1c486c91.tar.bz2 |
First Real Version
Diffstat (limited to 'Graphic_Equalizer/include/mouse_shared.hch')
-rw-r--r-- | Graphic_Equalizer/include/mouse_shared.hch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Graphic_Equalizer/include/mouse_shared.hch b/Graphic_Equalizer/include/mouse_shared.hch new file mode 100644 index 0000000..43887c4 --- /dev/null +++ b/Graphic_Equalizer/include/mouse_shared.hch @@ -0,0 +1,56 @@ +/*! \file mousedriver_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 10 x;
+ unsigned 9 y;
+ unsigned 3 state;
+} 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 --- */
+
|