diff 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
line wrap: on
line diff
--- a/Discovery/Inc/base.h	Fri May 24 22:01:46 2019 +0200
+++ b/Discovery/Inc/base.h	Tue Jun 11 05:30:09 2019 +0200
@@ -86,6 +86,8 @@
 	ACTION_BUTTON_NEXT,
 	ACTION_BUTTON_ENTER,
 	ACTION_BUTTON_ENTER_FINAL,
+	ACTION_SHAKE_POS,
+	ACTION_SHAKE_NEG,
 	ACTION_END
 } SAction;