My extension detect touches and multi-touches as well .Just register a component and you can detect when the component got touched and how many fingers has been touched, each finger coordinate, and the action that has been made while touching like clicking down,clicking up,dragging,etc..
See here, you can try it: