Added Input

This commit is contained in:
sippeangelo
2015-11-24 10:37:50 +01:00
parent 0a1f0d96db
commit 5f9dce4303
22 changed files with 937 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef Events_MousePress_h__
#define Events_MousePress_h__
#include "Core/EventBroker.h"
namespace Events
{
/** Thrown on mouse button press. */
struct MousePress : Event
{
/** GLFW mouse button code */
int Button;
/** The click position in window coordinates. */
double X, Y;
};
}
#endif