Added tap/double-tap support

Fixes #1