4 errors
Dependencies: KS0108_PCF8574 mbed
Diff: menbed/include/menbedButtonEvent.h
- Revision:
- 2:66e4ebaba5df
- Parent:
- 1:4f46d81502aa
- Child:
- 3:ec80bb6ff5da
--- a/menbed/include/menbedButtonEvent.h Wed Sep 05 07:22:44 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -#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