summaryrefslogtreecommitdiff
path: root/src/extern/wog.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-02-24 10:28:41 +0800
committerchai <chaifix@163.com>2020-02-24 10:28:41 +0800
commit538cb1cd010a3323ad61239a12a4134ef4dceca6 (patch)
tree0a2c492ce5d27c77da039aa5189b67aa3070aa20 /src/extern/wog.h
parentb656c9415a8e7e3b5b7d8bf1f3c8a5444f830c79 (diff)
*camera
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 {