/dports/emulators/jzintv/jzintv-20200712-src/src/event/ |
H A D | event_sdl.c | 31 # define ENABLE_JOY_EVENTS SDL_ENABLE 37 # define ENABLE_SYSWM_EVENTS SDL_ENABLE 88 SDL_EventState(SDL_MOUSEMOTION, SDL_ENABLE); in event_plat_init() 89 SDL_EventState(SDL_MOUSEBUTTONDOWN, SDL_ENABLE); in event_plat_init() 90 SDL_EventState(SDL_MOUSEBUTTONUP, SDL_ENABLE); in event_plat_init() 97 SDL_EventState(WINDOW_EVENT_CATEGORY, SDL_ENABLE); in event_plat_init() 98 SDL_EventState(SDL_KEYDOWN, SDL_ENABLE); in event_plat_init() 99 SDL_EventState(SDL_KEYUP, SDL_ENABLE); in event_plat_init() 100 SDL_EventState(SDL_QUIT, SDL_ENABLE); in event_plat_init()
|
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/input/ |
H A D | SDLInputBackend.cpp | 58 SDL_EventState(SDL_KEYDOWN, SDL_ENABLE); in init() 59 SDL_EventState(SDL_KEYUP, SDL_ENABLE); in init() 60 SDL_EventState(SDL_MOUSEMOTION, SDL_ENABLE); in init() 61 SDL_EventState(SDL_MOUSEBUTTONDOWN, SDL_ENABLE); in init() 62 SDL_EventState(SDL_MOUSEBUTTONUP, SDL_ENABLE); in init() 63 SDL_EventState(SDL_JOYAXISMOTION, SDL_ENABLE); in init() 64 SDL_EventState(SDL_JOYBALLMOTION, SDL_ENABLE); in init() 65 SDL_EventState(SDL_JOYHATMOTION, SDL_ENABLE); in init() 66 SDL_EventState(SDL_JOYBUTTONDOWN, SDL_ENABLE); in init() 67 SDL_EventState(SDL_JOYBUTTONUP, SDL_ENABLE); in init()
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 356 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 382 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 390 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 443 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 452 if (!preventDefault && SDL_GetEventState(SDL_FINGERMOTION) == SDL_ENABLE) { in Emscripten_HandleTouch() 462 if (!preventDefault && SDL_GetEventState(SDL_FINGERUP) == SDL_ENABLE) { in Emscripten_HandleTouch() 502 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 507 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && key… in Emscripten_HandleKey() 520 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 356 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 382 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 390 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 443 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 452 if (!preventDefault && SDL_GetEventState(SDL_FINGERMOTION) == SDL_ENABLE) { in Emscripten_HandleTouch() 462 if (!preventDefault && SDL_GetEventState(SDL_FINGERUP) == SDL_ENABLE) { in Emscripten_HandleTouch() 502 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 507 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && key… in Emscripten_HandleKey() 520 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 374 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 396 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 404 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 419 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 461 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 470 if (!preventDefault && SDL_GetEventState(SDL_FINGERMOTION) == SDL_ENABLE) { in Emscripten_HandleTouch() 480 if (!preventDefault && SDL_GetEventState(SDL_FINGERUP) == SDL_ENABLE) { in Emscripten_HandleTouch() 522 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 534 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && !is… in Emscripten_HandleKey() 547 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 356 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 382 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 390 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 443 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 452 if (!preventDefault && SDL_GetEventState(SDL_FINGERMOTION) == SDL_ENABLE) { in Emscripten_HandleTouch() 462 if (!preventDefault && SDL_GetEventState(SDL_FINGERUP) == SDL_ENABLE) { in Emscripten_HandleTouch() 502 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 507 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && key… in Emscripten_HandleKey() 520 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/dports/games/bumprace/karlb-bumprace-e73baa9e7465/src/ |
H A D | options.c | 79 SDL_EventState(SDL_KEYUP, SDL_ENABLE); in FinalScore() 80 SDL_EventState(SDL_KEYDOWN, SDL_ENABLE); in FinalScore() 120 SDL_EventState(SDL_KEYUP, SDL_ENABLE); in FinalScore() 121 SDL_EventState(SDL_KEYDOWN, SDL_ENABLE); in FinalScore()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-mingw/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/x11/controllermap/SDL2-2.0.18/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/devel/sdl20/SDL2-2.0.18/test/ |
H A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
/dports/games/chroma/chroma-1.20/ |
H A D | sdlscreen.c | 92 SDL_ShowCursor(fullscreen ? SDL_DISABLE : SDL_ENABLE); in screen_size() 93 SDL_ShowCursor(SDL_ENABLE); in screen_size() 185 SDL_ShowCursor(SDL_ENABLE); in screen_cursor() 188 SDL_ShowCursor(cursor ? SDL_ENABLE : SDL_DISABLE); in screen_cursor()
|
/dports/games/warmux/warmux-11.04/build/android/jni/sdl/src/events/ |
H A D | SDL_events.c | 238 SDL_memset(SDL_ProcessEvents,SDL_ENABLE,sizeof(SDL_ProcessEvents)); in SDL_StartEventLoop() 447 current_state = SDL_ENABLE; in SDL_EventState() 450 if ( state == SDL_ENABLE ) { in SDL_EventState() 465 case SDL_ENABLE: in SDL_EventState() 468 if ( state == SDL_ENABLE ) { in SDL_EventState() 490 if ( SDL_ProcessEvents[SDL_SYSWMEVENT] == SDL_ENABLE ) { in SDL_PrivateSysWMEvent()
|
/dports/devel/sdl12/SDL-1.2.15/src/events/ |
H A D | SDL_events.c | 238 SDL_memset(SDL_ProcessEvents,SDL_ENABLE,sizeof(SDL_ProcessEvents)); in SDL_StartEventLoop() 447 current_state = SDL_ENABLE; in SDL_EventState() 450 if ( state == SDL_ENABLE ) { in SDL_EventState() 465 case SDL_ENABLE: in SDL_EventState() 468 if ( state == SDL_ENABLE ) { in SDL_EventState() 490 if ( SDL_ProcessEvents[SDL_SYSWMEVENT] == SDL_ENABLE ) { in SDL_PrivateSysWMEvent()
|
/dports/games/brumbrumrally/brumbrumrally-0.7/src/ |
H A D | Pointer.cpp | 79 SDL_ShowCursor(SDL_ENABLE); in move() 127 SDL_ShowCursor(SDL_ENABLE); in show() 151 SDL_ShowCursor(SDL_ENABLE); in setScaling() 231 SDL_ShowCursor(SDL_ENABLE); in setType()
|
/dports/games/heroes/heroes-0.21/src/media/sdl/ |
H A D | keyb.c | 57 SDL_EventState (SDL_MOUSEMOTION, SDL_ENABLE); in mouse_show() 58 SDL_EventState (SDL_MOUSEBUTTONUP, SDL_ENABLE); in mouse_show() 59 SDL_EventState (SDL_MOUSEBUTTONDOWN, SDL_ENABLE); in mouse_show()
|
H A D | video.c | 132 SDL_EventState (SDL_KEYDOWN, SDL_ENABLE); in init_video_low() 133 SDL_EventState (SDL_KEYUP, SDL_ENABLE); in init_video_low() 134 SDL_EventState (SDL_QUIT, SDL_ENABLE); in init_video_low()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/ |
H A D | sdl_joystick.c | 81 assert(SDL_JoystickEventState(SDL_QUERY) == SDL_ENABLE); in main_2() 92 SDL_JoystickEventState(SDL_ENABLE); in main_2() 93 assert(SDL_JoystickEventState(SDL_QUERY) == SDL_ENABLE); in main_2()
|
/dports/games/battletanks/btanks-0.9.8083/sdlx/ |
H A D | cursor.cpp | 23 return SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE; in enabled() 29 SDL_ShowCursor(SDL_ENABLE); in Enable()
|
/dports/devel/love08/love-0.8.0/src/modules/mouse/sdl/ |
H A D | Mouse.cpp | 63 SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); in setVisible() 81 return (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) ? true : false; in isVisible()
|
/dports/devel/love5/love-0.5-0/src/sdlmouse/ |
H A D | love_sdlmouse.cpp | 66 SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); in setVisible() 71 return (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) ? true : false; in isVisible()
|
/dports/x11/controllermap/SDL2-2.0.18/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 383 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 428 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 443 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 476 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 584 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 598 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && !is… in Emscripten_HandleKey() 611 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/dports/devel/sdl20/SDL2-2.0.18/src/video/emscripten/ |
H A D | SDL_emscriptenevents.c | 383 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 428 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 443 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 476 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 584 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 598 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && !is… in Emscripten_HandleKey() 611 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|