Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/include/menbedButtonEvent.h
- Committer:
- LucasMatBorges
- Date:
- 2017-05-19
- Revision:
- 1:f105b690aeb7
- Parent:
- 0:92357d1220f3
File content as of revision 1:f105b690aeb7:
#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_ */