Click, double click, or click and hold, it will be able to detect it.
All of this is by me, use in your projects if you want, just give credit. It's not perfect, needs some work, but works pretty well so far.