src/events/SDL_mouse.c
changeset 3572 6bb9952d5029
parent 3253 5d7ef5970073
child 3585 f8816ffa210b
equal deleted inserted replaced
3571:19691cebb866 3572:6bb9952d5029
   471         event.motion.z = mouse->z;
   471         event.motion.z = mouse->z;
   472         event.motion.pressure = mouse->pressure;
   472         event.motion.pressure = mouse->pressure;
   473         event.motion.pressure_max = mouse->pressure_max;
   473         event.motion.pressure_max = mouse->pressure_max;
   474         event.motion.pressure_min = mouse->pressure_min;
   474         event.motion.pressure_min = mouse->pressure_min;
   475         event.motion.rotation = 0;
   475         event.motion.rotation = 0;
   476         event.motion.tilt = 0;
   476         event.motion.tilt_x = 0;
       
   477         event.motion.tilt_y = 0;
   477         event.motion.cursor = mouse->current_end;
   478         event.motion.cursor = mouse->current_end;
   478         event.motion.xrel = xrel;
   479         event.motion.xrel = xrel;
   479         event.motion.yrel = yrel;
   480         event.motion.yrel = yrel;
   480         event.motion.windowID = mouse->focus;
   481         event.motion.windowID = mouse->focus;
   481         posted = (SDL_PushEvent(&event) > 0);
   482         posted = (SDL_PushEvent(&event) > 0);