diff --git a/EventHandler/.cproject b/EventHandler/.cproject
index 4986d0b..24eb5ee 100644
--- a/EventHandler/.cproject
+++ b/EventHandler/.cproject
@@ -42,13 +42,14 @@
-
-
+
@@ -64,29 +65,31 @@
-
-
-
-
+
+
+
-
-
-
+
+
@@ -140,14 +143,15 @@
-
-
-
+
+
@@ -163,29 +167,31 @@
-
-
-
-
+
+
+
-
-
-
+
+
@@ -239,4 +245,5 @@
LPCXpresso1549
+
\ No newline at end of file
diff --git a/EventHandler/inc/EventHandler.h b/EventHandler/inc/EventHandler.h
index f715beb..72d5ca9 100644
--- a/EventHandler/inc/EventHandler.h
+++ b/EventHandler/inc/EventHandler.h
@@ -8,10 +8,22 @@
#ifndef EVENTHANDLER_H_
#define EVENTHANDLER_H_
+#include "DigitalIoPin.h"
+
+typedef struct _EVENT_HANDL{
+ DigitalIoPin * _button_control_up;
+ DigitalIoPin * _button_control_down;
+ DigitalIoPin * _button_control_toggle_mode;
+ DigitalIoPin * _button_control_toggle_active;
+} EVENT_HANDL;
+
class EventHandler {
public:
- EventHandler();
+ EventHandler(EVENT_HANDL * btns);
virtual ~EventHandler();
+private:
+ EVENT_HANDL = {0,0,0,0};
+
};
#endif /* EVENTHANDLER_H_ */
diff --git a/EventHandler/src/EventHandler.cpp b/EventHandler/src/EventHandler.cpp
index 4faa8cf..6eeb873 100644
--- a/EventHandler/src/EventHandler.cpp
+++ b/EventHandler/src/EventHandler.cpp
@@ -7,7 +7,7 @@
#include
-EventHandler::EventHandler() {
+EventHandler::EventHandler(EVENT_HANDL * btns) {
// TODO Auto-generated constructor stub
}