Add PointerEvent support

Fixes gh-46