Input events moved from InputSystem to new InputManager
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef Event_KeyDown_h__
|
||||
#define Event_KeyDown_h__
|
||||
#ifndef Events_KeyDown_h__
|
||||
#define Events_KeyDown_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
@@ -13,4 +13,4 @@ struct KeyDown : Event
|
||||
|
||||
}
|
||||
|
||||
#endif // Event_KeyDown_h__
|
||||
#endif // Events_KeyDown_h__
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
#ifndef Event_KeyUp_h__
|
||||
#define Event_KeyUp_h__
|
||||
#ifndef Events_KeyUp_h__
|
||||
#define Events_KeyUp_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
@@ -13,4 +13,4 @@ struct KeyUp : Event
|
||||
|
||||
}
|
||||
|
||||
#endif // Event_KeyUp_h__
|
||||
#endif // Events_KeyUp_h__
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef Events_MouseMove_h__
|
||||
#define Events_MouseMove_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct MouseMove : Event
|
||||
{
|
||||
double X, Y;
|
||||
double DeltaX, DeltaY;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Events_MouseMove_h__
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef Events_MousePress_h__
|
||||
#define Events_MousePress_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct MousePress : Event
|
||||
{
|
||||
int Button;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Events_MousePress_h__
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef Events_MouseRelease_h__
|
||||
#define Events_MouseRelease_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct MouseRelease : Event
|
||||
{
|
||||
int Button;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Events_MouseRelease_h__
|
||||
Reference in New Issue
Block a user