2d library that gives you a framebuffer and an event callback
@tuxcrafting love2d? thats pretty much what youre looking for