Button class with auto repeat function.

Revision:
2:97ef12e06605
Parent:
1:3385a1ea4a7d
Child:
3:03aea89f2a5c
--- a/Button.h	Tue Feb 14 13:22:07 2017 +0000
+++ b/Button.h	Thu Mar 16 13:49:03 2017 +0000
@@ -5,7 +5,7 @@
 
 enum ButtonEvent
 {
-    BUTTON_DOWN = 0, BUTTON_UP, BUTTON_PRESS, BUTTON_LONG_PRESS
+    BUTTON_UNKNOWN = 0, BUTTON_DOWN, BUTTON_UP, BUTTON_PRESS, BUTTON_LONG_PRESS
 };
 
 class Button