4 errors

Dependencies:   KS0108_PCF8574 mbed

Revision:
3:ec80bb6ff5da
Parent:
0:936f1c020120
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/menbed/include/menbedButtonEvent.h	Tue Sep 11 10:21:10 2012 +0000
@@ -0,0 +1,25 @@
+#ifndef _MENBEDBUTTONEVENT_H_
+#define _MENBEDBUTTONEVENT_H_
+
+#include "mbed.h"
+
+class MenbedButtonEvent {
+public:
+    enum ButtonName {
+        ButtonSelect,
+        ButtonDown,
+        ButtonUp,
+        ButtonCancel };
+        
+    enum ButtonAction {
+        BUTTON_ACTION_PUSHED,
+        BUTTON_ACTION_RELEASED_SHORT,
+        BUTTON_ACTION_RELEASED_LONG,
+        BUTTON_ACTION_HELD_LONG };
+        
+    ButtonName name;
+    ButtonAction action;
+    uint8_t numButtons;
+};
+
+#endif /* _MENBEDBUTTONEVENT_H_ */
\ No newline at end of file