Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c624 mouse->accumulated_wheel_y += y;
625 if (mouse->accumulated_wheel_y > 0) {
626 integral_y = (int)SDL_floor(mouse->accumulated_wheel_y);
627 } else if (mouse->accumulated_wheel_y < 0) {
628 integral_y = (int)SDL_ceil(mouse->accumulated_wheel_y);
632 mouse->accumulated_wheel_y -= integral_y;
A DSDL_mouse_c.h84 float accumulated_wheel_y; member

Completed in 6 milliseconds