summaryrefslogtreecommitdiff
path: root/src/extern/wog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extern/wog.h')
-rw-r--r--src/extern/wog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extern/wog.h b/src/extern/wog.h
index f616d82..ba11556 100644
--- a/src/extern/wog.h
+++ b/src/extern/wog.h
@@ -42,8 +42,8 @@ enum // mouse button event, e.button value
typedef struct wog_Event
{
int type;
- union // event value
- {
+ //union // event value
+ //{
int key; // for key, simply use windows virtual key value
// see https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
struct // for mouse motion
@@ -52,7 +52,7 @@ typedef struct wog_Event
}pos;
int wheel; // 1 indicate scroll up and -1 indicate scrool down
int button; // mouse button
- };
+ //};
}wog_Event;
typedef struct {