summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/mousedriver_shared.hch
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/include/mousedriver_shared.hch')
-rw-r--r--Graphic_Equalizer/include/mousedriver_shared.hch14
1 files changed, 9 insertions, 5 deletions
diff --git a/Graphic_Equalizer/include/mousedriver_shared.hch b/Graphic_Equalizer/include/mousedriver_shared.hch
index d020b94..01470fa 100644
--- a/Graphic_Equalizer/include/mousedriver_shared.hch
+++ b/Graphic_Equalizer/include/mousedriver_shared.hch
@@ -19,14 +19,16 @@
#ifndef _MOUSEDRIVER_SHARED_HCH
#define _MOUSEDRIVER_SHARED_HCH 1
+/*** Data Types **********************/
+
/*
* Type definition of the shared memory to be used in various processes
*/
-struct mousedata_s {
- ram unsigned 10 x;
- ram unsigned 9 y;
- ram unsigned 2 state;
-};
+typedef struct {
+ unsigned 10 x;
+ unsigned 9 y;
+ unsigned 3 state;
+} mousedata_s;
@@ -36,6 +38,8 @@ struct mousedata_s {
#define MOUSE_NOT_UPDATED 0
#define MOUSE_UPDATED 1
+
+
/*
* Set of Mouse States defines
*/