Simplify pointerType string conversion
Merge pull request #2 from fredj/pointerevents

Simplify pointerType string conversion