used utf8 instead of gb18080 in few files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#ifndef HGL_IO_INPUT_EVENT_INCLUDE
|
||||
#ifndef HGL_IO_INPUT_EVENT_INCLUDE
|
||||
#define HGL_IO_INPUT_EVENT_INCLUDE
|
||||
|
||||
#include<hgl/type/SortedSets.h>
|
||||
@@ -9,15 +9,15 @@ namespace hgl
|
||||
{
|
||||
struct EventHeader
|
||||
{
|
||||
uint8 type; ///<<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
uint8 index; ///<<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>ͬһ<CDAC>豸<EFBFBD>ж<EFBFBD><D0B6><EFBFBD>)
|
||||
uint16 id; ///<<EFBFBD>¼<EFBFBD>id
|
||||
uint8 type; ///<输入源类型
|
||||
uint8 index; ///<输入源索引(比如同一设备有多个)
|
||||
uint16 id; ///<事件id
|
||||
};
|
||||
|
||||
constexpr size_t EventHeaderBytes=sizeof(EventHeader);
|
||||
|
||||
/**
|
||||
* <EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* 事件处理结果
|
||||
*/
|
||||
enum class EventProcResult
|
||||
{
|
||||
@@ -101,4 +101,4 @@ namespace hgl
|
||||
};//class InputEvent
|
||||
}//namespace io
|
||||
}//namespace hgl
|
||||
#endif//HGL_IO_INPUT_EVENT_INCLUDE
|
||||
#endif//HGL_IO_INPUT_EVENT_INCLUDE
|
||||
|
Reference in New Issue
Block a user