allows differentiating between long-press, short-press, and double-press actions