Searched refs:xrel (Results 1 – 10 of 10) sorted by relevance
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 205 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;
|
D | SDL_touch.c | 284 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/ |
D | SDL_joystick.c | 649 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()
|
D | SDL_joystick_c.h | 41 Uint8 ball, Sint16 xrel, Sint16 yrel);
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 782 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/ |
D | SDL_events.h | 241 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/ |
D | testrelative.c | 45 rect.x += event.motion.xrel; in loop()
|
D | testjoystick.c | 88 event.jball.ball, event.jball.xrel, event.jball.yrel); in loop()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/ |
D | SDL_render.c | 175 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/ |
D | SDL_test_common.c | 1100 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()
|