PointerDetector: Add event subscription function

Change-Id: I6ade989106f58ed938c4d9a40aecda6ab67d0e88