updated SDL2, implemented event data