diff options
| author | Ray <[email protected]> | 2017-04-28 00:29:50 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-04-28 00:29:50 +0200 |
| commit | 86f2d4b9f9df7514e3f15d8f2a5e92db6ac3c0ba (patch) | |
| tree | 070e21896a2c88a58c42bad9a2291baaa864858e /src | |
| parent | 66320582a36d6c0b5ebd063bfbe4c04cb4424b8f (diff) | |
| download | raylib-86f2d4b9f9df7514e3f15d8f2a5e92db6ac3c0ba.tar.gz raylib-86f2d4b9f9df7514e3f15d8f2a5e92db6ac3c0ba.zip | |
Commented pointer lock on web
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2719,6 +2719,8 @@ static EM_BOOL EmscriptenKeyboardCallback(int eventType, const EmscriptenKeyboar // Register mouse input events static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent *mouseEvent, void *userData) { + /* + // Lock mouse pointer when click on screen if (eventType == EMSCRIPTEN_EVENT_CLICK) { EmscriptenPointerlockChangeEvent plce; @@ -2732,6 +2734,7 @@ static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent //if (plce.isActive) TraceLog(WARNING, "Pointer lock exit did not work!"); } } + */ return 0; } |
