summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_Original_Port/include/mouse_shared.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-12-09 13:44:56 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-12-09 13:44:56 (GMT)
commit593d5fded11b8723ce27883e06865ab205c6f008 (patch)
tree1f25584a40a2f24861464f0e6ea5416db7951514 /Graphic_Equalizer_Original_Port/include/mouse_shared.hch
parent2b08ad7b3243965c832960b8089013cd1f6f46f3 (diff)
downloadTASS-593d5fded11b8723ce27883e06865ab205c6f008.zip
TASS-593d5fded11b8723ce27883e06865ab205c6f008.tar.gz
TASS-593d5fded11b8723ce27883e06865ab205c6f008.tar.bz2
Phase 1: Original Port Completed.
Recommended additions: add and update (doxygen) documentation
Diffstat (limited to 'Graphic_Equalizer_Original_Port/include/mouse_shared.hch')
-rw-r--r--Graphic_Equalizer_Original_Port/include/mouse_shared.hch56
1 files changed, 56 insertions, 0 deletions
diff --git a/Graphic_Equalizer_Original_Port/include/mouse_shared.hch b/Graphic_Equalizer_Original_Port/include/mouse_shared.hch
new file mode 100644
index 0000000..09c5021
--- /dev/null
+++ b/Graphic_Equalizer_Original_Port/include/mouse_shared.hch
@@ -0,0 +1,56 @@
+/*! \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 10 x, 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 --- */
+