Home
last modified time | relevance | path

Searched refs:xrel (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c205 int xrel; local
222 xrel = x;
224 x = (mouse->last_x + xrel);
227 xrel = x - mouse->last_x;
232 if (!xrel && !yrel) {
244 mouse->x += xrel;
273 mouse->xdelta += xrel;
292 event.motion.xrel = xrel;
DSDL_touch.c284 float xrel, yrel, prel; in SDL_SendTouchMotion() local
296 xrel = x - finger->x; in SDL_SendTouchMotion()
301 if (!xrel && !yrel && !prel) { in SDL_SendTouchMotion()
322 event.tfinger.dx = xrel; in SDL_SendTouchMotion()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_joystick.c649 Sint16 xrel, Sint16 yrel) in SDL_PrivateJoystickBall() argument
664 joystick->balls[ball].dx += xrel; in SDL_PrivateJoystickBall()
675 event.jball.xrel = xrel; in SDL_PrivateJoystickBall()
DSDL_joystick_c.h41 Uint8 ball, Sint16 xrel, Sint16 yrel);
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/
DSDL_sysjoystick.c782 int xrel, yrel; in SDL_SYS_JoystickUpdate() local
784 xrel = joystick->hwdata->balls[i].axis[0]; in SDL_SYS_JoystickUpdate()
786 if (xrel || yrel) { in SDL_SYS_JoystickUpdate()
789 SDL_PrivateJoystickBall(joystick, (Uint8) i, xrel, yrel); in SDL_SYS_JoystickUpdate()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_events.h241 Sint32 xrel; /**< The relative motion in the X direction */ member
304 Sint16 xrel; /**< The relative motion in the X direction */ member
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestrelative.c45 rect.x += event.motion.xrel; in loop()
Dtestjoystick.c88 event.jball.ball, event.jball.xrel, event.jball.yrel); in loop()
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_render.c175 if (event->motion.xrel > 0) { in SDL_RendererEventWatch()
176 event->motion.xrel = SDL_max(1, (int)(event->motion.xrel / renderer->scale.x)); in SDL_RendererEventWatch()
177 } else if (event->motion.xrel < 0) { in SDL_RendererEventWatch()
178 event->motion.xrel = SDL_min(-1, (int)(event->motion.xrel / renderer->scale.x)); in SDL_RendererEventWatch()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_common.c1100 event->motion.xrel, event->motion.yrel, in SDLTest_PrintEvent()
1127 event->jball.which, event->jball.ball, event->jball.xrel, in SDLTest_PrintEvent()
1565 …of(message), "(%i, %i), rel (%i, %i)\n", lastEvent.x, lastEvent.y, lastEvent.xrel, lastEvent.yrel); in SDLTest_CommonEvent()