added files of io/event

This commit is contained in:
2022-01-24 18:56:05 +08:00
parent caaefe206b
commit b6f37bef87
7 changed files with 638 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
#ifndef HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE
#define HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE
#include<hgl/TypeFunc.h>
namespace hgl
{
namespace io
{
enum class InputEventSource
{
Root=0,
OS,
Window,
Keyboard,
Mouse,
Joystick,
ENUM_CLASS_RANGE(Root,Joystick)
};
}//namespace io
}//namespace hgl
#endif//HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE