title: Creating doubleClick code for bluetooth button
body: <p>I have received a bluetooth button which you can connect your program to, however the double click is not working for it. All the other events (up, down, click, hold) are working and calling the correct delegate.</p>
  
  <p>I want somehow to manage double clicks from code.
  How can I make it work, for example from the up event. (for example, if second click comes within 0.5s it behaves as a double click, if no then simple click)
  this probably makes a 0.5s delay but thats acceptable...</p>