Framework for Pointer device gestures