summaryrefslogtreecommitdiffstats
path: root/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'EventHandler.h')
-rw-r--r--EventHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/EventHandler.h b/EventHandler.h
index 7708341..6bb6c0f 100644
--- a/EventHandler.h
+++ b/EventHandler.h
@@ -5,7 +5,8 @@ class EventHandler {
public:
virtual ~EventHandler() {}
- virtual bool buttonPress(unsigned int button) = 0;
+ virtual bool buttonPress(unsigned int button) {return false;}
+ virtual bool buttonRelease(unsigned int button) {return false;}
};
#endif /*EVENTHANDLER_H_*/