Home
last modified time | relevance | path

Searched refs:SDL_PRESSED (Results 1 – 25 of 37) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsevents.c224 SDL_SendMouseButton(data->window, mouseID, SDL_PRESSED, button); in WIN_CheckWParamMouseButton()
531 …ndMouseButton(data->window, 0, GetAsyncKeyState(VK_LBUTTON) & 0x8000 ? SDL_PRESSED : SDL_RELEASED,… in WIN_WindowProc()
532 …ndMouseButton(data->window, 0, GetAsyncKeyState(VK_RBUTTON) & 0x8000 ? SDL_PRESSED : SDL_RELEASED,… in WIN_WindowProc()
533 …ndMouseButton(data->window, 0, GetAsyncKeyState(VK_MBUTTON) & 0x8000 ? SDL_PRESSED : SDL_RELEASED,… in WIN_WindowProc()
534 …dMouseButton(data->window, 0, GetAsyncKeyState(VK_XBUTTON1) & 0x8000 ? SDL_PRESSED : SDL_RELEASED,… in WIN_WindowProc()
535 …dMouseButton(data->window, 0, GetAsyncKeyState(VK_XBUTTON2) & 0x8000 ? SDL_PRESSED : SDL_RELEASED,… in WIN_WindowProc()
604 …if (keyboardState[SDL_SCANCODE_LALT] == SDL_PRESSED || keyboardState[SDL_SCANCODE_RALT] == SDL_PRE… in WIN_WindowProc()
612 SDL_SendKeyboardKey(SDL_PRESSED, code); in WIN_WindowProc()
628 SDL_SendKeyboardKey(SDL_PRESSED, code); in WIN_WindowProc()
1031 if ((keystate[SDL_SCANCODE_LSHIFT] == SDL_PRESSED) && !(GetKeyState(VK_LSHIFT) & 0x8000)) { in WIN_PumpEvents()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirevents.c70 key_state = SDL_PRESSED; in HandleKeyEvent()
83 if (key_state == SDL_PRESSED) in HandleKeyEvent()
201 HandleMouseButton(sdl_window, SDL_PRESSED, pointer); in HandleMouseEvent()
/third_party/flutter/skia/third_party/externals/sdl/src/main/haiku/
DSDL_BApp.h271 if(state == SDL_PRESSED && BE_GetKeyState(scancode) == SDL_PRESSED) { in _HandleKey()
277 if (state == SDL_PRESSED && SDL_EventState(SDL_TEXTINPUT, SDL_QUERY)) { in _HandleKey()
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_events.c190 SDL_PRESSED, in ProcessWindowEvent()
237 SDL_SendKeyboardKey_ex(0, SDL_PRESSED, keysym.scancode); in ProcessWindowEvent()
373 SDL_SendKeyboardKey_ex(kbd_idx, SDL_PRESSED, keysym.scancode); in ProcessInputEvent()
389 SDL_SendMouseButton_ex(devdata->grabbed_window, ievt->device_id, SDL_PRESSED, 1); in ProcessInputEvent()
391 SDL_SendMouseButton_ex(devdata->grabbed_window, ievt->device_id, SDL_PRESSED, 2); in ProcessInputEvent()
393 SDL_SendMouseButton_ex(devdata->grabbed_window, ievt->device_id, SDL_PRESSED, 3); in ProcessInputEvent()
/third_party/flutter/skia/third_party/externals/sdl/src/video/uikit/
DSDL_uikitviewcontroller.m299 SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_BACKSPACE);
322 SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_LSHIFT);
326 SDL_SendKeyboardKey(SDL_PRESSED, code);
344 SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
DSDL_uikitview.m152 … SDL_SendMouseButtonClicks(sdlwindow, SDL_TOUCH_MOUSEID, SDL_PRESSED, SDL_BUTTON_LEFT, clicks);
234 SDL_SendKeyboardKey(SDL_PRESSED, scancode);
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidmouse.c71 SDL_SendMouseButton(Android_Window, 0, SDL_PRESSED, SDLButton); in Android_OnMouse()
DSDL_androidtouch.c116 … SDL_SendMouseButton(Android_Window, SDL_TOUCH_MOUSEID, SDL_PRESSED, SDL_BUTTON_LEFT); in Android_OnTouch()
DSDL_androidkeyboard.c342 return SDL_SendKeyboardKey(SDL_PRESSED, TranslateKeycode(keycode)); in Android_OnKeyDown()
/third_party/flutter/skia/example/
DSkiaSDLExample.cpp56 if (event.motion.state == SDL_PRESSED) { in handle_events()
63 if (event.button.state == SDL_PRESSED) { in handle_events()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtpointerinput.cpp229 SDL_SendMouseButton(window, 0, SDL_PRESSED, button);
237 SDL_SendMouseButton(window, SDL_TOUCH_MOUSEID, SDL_PRESSED, button);
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspevents.c103SDL_PRESSED : SDL_RELEASED, SDL_GetScancodeFromKey(keymap_psp[i].sym)); in PSP_PumpEvents()
127SDL_PRESSED : SDL_RELEASED, SDL_GetScancodeFromKey(keymap[raw])); in PSP_PumpEvents()
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/
DSDL_naclevents.c354 …SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_PRESSED, SDL_NACL_translate_mouse_button(dri… in NACL_PumpEvents()
384 …SDL_SendKeyboardKey(SDL_PRESSED, SDL_NACL_translate_keycode(driverdata->ppb_keyboard_input_event->… in NACL_PumpEvents()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_gamecontroller.c170 ….raxesasbutton[event->jaxis.axis], ABS(event->jaxis.value) > 32768/2 ? SDL_PRESSED : SDL_RELEASED); in SDL_GameControllerEventWatcher()
231 …Button(controllerlist, controllerlist->mapping.rhatasbutton[bHighHat | SDL_HAT_DOWN], SDL_PRESSED); in SDL_GameControllerEventWatcher()
233 …erButton(controllerlist, controllerlist->mapping.rhatasbutton[bHighHat | SDL_HAT_UP], SDL_PRESSED); in SDL_GameControllerEventWatcher()
235 …Button(controllerlist, controllerlist->mapping.rhatasbutton[bHighHat | SDL_HAT_LEFT], SDL_PRESSED); in SDL_GameControllerEventWatcher()
237 …utton(controllerlist, controllerlist->mapping.rhatasbutton[bHighHat | SDL_HAT_RIGHT], SDL_PRESSED); in SDL_GameControllerEventWatcher()
1312 case SDL_PRESSED: in SDL_PrivateGameControllerButton()
DSDL_joystick.c691 case SDL_PRESSED: in SDL_PrivateJoystickButton()
714 if (state == SDL_PRESSED) { in SDL_PrivateJoystickButton()
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenevents.c354 …SDL_EventType sdl_event_type = (eventType == EMSCRIPTEN_EVENT_MOUSEDOWN ? SDL_PRESSED : SDL_RELEAS… in Emscripten_HandleMouseButton()
439 … SDL_SendMouseButton(window_data->window, SDL_TOUCH_MOUSEID, SDL_PRESSED, SDL_BUTTON_LEFT); in Emscripten_HandleTouch()
498 … SDL_SendKeyboardKey(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_PRESSED : SDL_RELEASED, scancode); in Emscripten_HandleKey()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_keyboard.c573 if (keyboard->keystate[scancode] == SDL_PRESSED) { in SDL_ResetKeyboard()
676 state == SDL_PRESSED ? "pressed" : "released"); in SDL_SendKeyboardKey()
681 case SDL_PRESSED: in SDL_SendKeyboardKey()
DSDL_mouse.c335 case SDL_PRESSED:
349 if (window && state == SDL_PRESSED) {
362 if (state == SDL_PRESSED) {
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_xinputjoystick.c272 …oystickButton(joystick, button, (wButtons & s_XInputButtons[button]) ? SDL_PRESSED : SDL_RELEASED); in UpdateXInputJoystickState_OLD()
299 …oystickButton(joystick, button, (wButtons & s_XInputButtons[button]) ? SDL_PRESSED : SDL_RELEASED); in UpdateXInputJoystickState()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dcheckkeys.c162 …PrintKey(&event.key.keysym, (event.key.state == SDL_PRESSED) ? SDL_TRUE : SDL_FALSE, (event.key.re… in loop()
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_BWin.h349 _KeyEvent((SDL_Scancode)key, &bytes[0], i, SDL_PRESSED); in DispatchMessage()
356 _KeyEvent((SDL_Scancode)key, NULL, 0, SDL_PRESSED); in DispatchMessage()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/psp/
DSDL_sysjoystick.c225 SDL_PRESSED : SDL_RELEASED); in SDL_SYS_JoystickUpdate()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoakeyboard.m209 SDL_SendKeyboardKey(pressed ? SDL_PRESSED : SDL_RELEASED, SDL_SCANCODE_CAPSLOCK);
318 SDL_SendKeyboardKey(SDL_PRESSED, scancode);
343 SDL_SendKeyboardKey(SDL_PRESSED, scancode);
679 SDL_SendKeyboardKey(SDL_PRESSED, code);
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandevents.c213 state ? SDL_PRESSED : SDL_RELEASED, sdl_button); in pointer_handle_button_common()
361 SDL_PRESSED : SDL_RELEASED, scancode); in keyboard_handle_key()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11events.c362 SDL_SendKeyboardKey(SDL_PRESSED, viddata->key_layout[keycode]); in X11_ReconcileKeyboardState()
575 SDL_SendKeyboardKey(SDL_PRESSED, scancode); in X11_DispatchEvent()
795 SDL_SendKeyboardKey(SDL_PRESSED, videodata->key_layout[keycode]); in X11_DispatchEvent()
1043 SDL_SendMouseButton(data->window, 0, SDL_PRESSED, button); in X11_DispatchEvent()

12