I didn't put double click tracking in there yet, but my code does support dragging, as it not only tracks press and release, but where each happened. This is partly so I can make sure both happened over the same hotspot - so if you click a button, hold, then release the mouse while not over the button, it won't activate it.