inplace dependency
support for sdl2 events