Home
last modified time | relevance | path

Searched refs:has_pointer_lock (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenvideo.h52 SDL_bool has_pointer_lock; member
A DSDL_emscriptenevents.c305 window_data->has_pointer_lock = changeEvent->isActive; in Emscripten_HandlePointerLockChange()
314 const int isPointerLocked = window_data->has_pointer_lock; in Emscripten_HandleMouseMove()
365 if (SDL_GetMouse()->relative_mode && !window_data->has_pointer_lock) { in Emscripten_HandleMouseButton()
392 const int isPointerLocked = window_data->has_pointer_lock; in Emscripten_HandleMouseFocus()

Completed in 4 milliseconds