Edit

kc3-lang/SDL/src

Branch :

  • Show log

    Commit

  • Author : Sam Lantinga
    Date : 2017-10-11 13:31:21
    Hash : c0019b7f
    Message : Fixed bug 3871 - Touch events are not normalised on X11 Trent Gamblin The documentation for SDL_TouchFingerEvent says that the x and y coordinates are normalised between 0-1. I've found that to be true on Windows, Android and iOS but on X11 they are in pixel coordinates. This patch fixes the issue. This was the cleanest way I could do it with what was available without changing things around a lot but you may know a better way.