4 errors
Dependencies: KS0108_PCF8574 mbed
menbed/include/menbedButtonEvent.h
- Committer:
- GuiTwo
- Date:
- 2012-09-05
- Revision:
- 0:936f1c020120
File content as of revision 0:936f1c020120:
#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_ */