comparison Discovery/Inc/base.h @ 361:b111fc4250e9 MotionDetection

Pass action to customer vie update function. By intoducing shakes the reason for calling an update may not only be the middle button. To be able to handle positiv and negativ shake events the action is now provided to the update function
author Ideenmodellierer
date Tue, 11 Jun 2019 05:30:09 +0200
parents 5f11787b4f42
children 50ea68c7a153
comparison
equal deleted inserted replaced
360:fc5e9fdcb156 361:b111fc4250e9
84 ACTION_BUTTON_CUSTOM, 84 ACTION_BUTTON_CUSTOM,
85 ACTION_BUTTON_BACK, 85 ACTION_BUTTON_BACK,
86 ACTION_BUTTON_NEXT, 86 ACTION_BUTTON_NEXT,
87 ACTION_BUTTON_ENTER, 87 ACTION_BUTTON_ENTER,
88 ACTION_BUTTON_ENTER_FINAL, 88 ACTION_BUTTON_ENTER_FINAL,
89 ACTION_SHAKE_POS,
90 ACTION_SHAKE_NEG,
89 ACTION_END 91 ACTION_END
90 } SAction; 92 } SAction;
91 93
92 /* Exported macro ------------------------------------------------------------*/ 94 /* Exported macro ------------------------------------------------------------*/
93 /* Exported functions ------------------------------------------------------- */ 95 /* Exported functions ------------------------------------------------------- */