This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed X11 mouse motion/button events - it's not actually safe to cast…
… mouse events to device events. Fixed building SDL without XInput support Simplified the process of registering a mouse device
- Loading branch information
Showing
with
206 additions
and 197 deletions.
- +25 −45 src/events/SDL_mouse.c
- +2 −7 src/events/SDL_mouse_c.h
- +1 −2 src/video/cocoa/SDL_cocoamouse.m
- +4 −7 src/video/directfb/SDL_DirectFB_mouse.c
- +2 −1 src/video/uikit/SDL_uikitview.m
- +3 −3 src/video/win32/SDL_win32mouse.c
- +58 −24 src/video/x11/SDL_x11events.c
- +70 −31 src/video/x11/SDL_x11mouse.c
- +15 −0 src/video/x11/SDL_x11mouse.h
- +0 −57 src/video/x11/SDL_x11video.c
- +0 −17 src/video/x11/SDL_x11video.h
- +26 −3 src/video/x11/SDL_x11window.c
Oops, something went wrong.