Layout codes of InputEvent/WindowEvent
This commit is contained in:
@@ -1,24 +1,19 @@
|
||||
#ifndef HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE
|
||||
#define HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE
|
||||
#pragma once
|
||||
|
||||
#include<hgl/TypeFunc.h>
|
||||
namespace hgl
|
||||
namespace hgl::io
|
||||
{
|
||||
namespace io
|
||||
enum class InputEventSource
|
||||
{
|
||||
enum class InputEventSource
|
||||
{
|
||||
Root=0,
|
||||
Root=0,
|
||||
|
||||
OS,
|
||||
Window,
|
||||
OS,
|
||||
Window,
|
||||
|
||||
Keyboard,
|
||||
Mouse,
|
||||
Joystick,
|
||||
Keyboard,
|
||||
Mouse,
|
||||
Joystick,
|
||||
|
||||
ENUM_CLASS_RANGE(Root,Joystick)
|
||||
};
|
||||
}//namespace io
|
||||
}//namespace hgl
|
||||
#endif//HGL_IO_INPUT_DEVICE_SOURCE_INCLUDE
|
||||
ENUM_CLASS_RANGE(Root,Joystick)
|
||||
};
|
||||
}//namespace hgl::io
|
||||
|
Reference in New Issue
Block a user