From c7b179d6546688208528c8eef681d42b7c1ec7be Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Fri, 16 Jul 2010 21:44:47 +0200 Subject: [PATCH] Added EV_Keyboard and EV_Mouse catch-all event flags --- input/event.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/input/event.hpp b/input/event.hpp index f7ee7e58b..dc7b47088 100644 --- a/input/event.hpp +++ b/input/event.hpp @@ -18,9 +18,12 @@ namespace Mangle EV_Unknown = 1, // Unknown event type EV_KeyDown = 2, // Keyboard button was pressed EV_KeyUp = 4, // Keyboard button was released + EV_Keyboard = 6, // All keyboard events + EV_MouseMove = 8, // Mouse movement EV_MouseDown = 16, // Mouse button pressed EV_MouseUp = 32, // Mouse button released + EV_Mouse = 56, // All mouse events EV_ALL = 63 // All events };