this locks like shit
Fork of MenuLCD_copy by
Embed:
(wiki syntax)
Show/hide line numbers
menbedButtonEvent.h
00001 #ifndef _MENBEDBUTTONEVENT_H_ 00002 #define _MENBEDBUTTONEVENT_H_ 00003 00004 #include "mbed.h" 00005 00006 class MenbedButtonEvent { 00007 public: 00008 enum ButtonName { 00009 ButtonSelect, 00010 ButtonDown, 00011 ButtonUp, 00012 ButtonCancel }; 00013 00014 enum ButtonAction { 00015 BUTTON_ACTION_PUSHED, 00016 BUTTON_ACTION_RELEASED_SHORT, 00017 BUTTON_ACTION_RELEASED_LONG, 00018 BUTTON_ACTION_HELD_LONG }; 00019 00020 ButtonName name; 00021 ButtonAction action; 00022 uint8_t numButtons; 00023 }; 00024 00025 #endif /* _MENBEDBUTTONEVENT_H_ */
Generated on Tue Jul 12 2022 22:15:03 by
1.7.2
