Allow library users to register for touch/doubletap events