41 #ifndef _inputmetacode_h
42 #define _inputmetacode_h
72 #include "Input/inputenumerations.h"
103 void Construct(
const RawEvent& RawEvent_);
156 void SetCode(
const Int32& NewCode);
165 void SetMetaValue(
const Int32& Value);
171 Int32 GetMetaValue()
const;
174 void SetDeviceIndex(
const UInt16& Index);
178 UInt16 GetDeviceIndex()
const;
180 void SetNullValues();
212 bool IsKeyboardButton()
const;
215 bool IsMouseButton()
const;
218 bool IsControllerButton()
const;
221 bool IsDeviceButton()
const;
225 bool IsKeyboardEvent()
const;
228 bool IsMouseEvent()
const;
231 bool IsMouseMotionEvent()
const;
234 bool IsMouseMultiClickEvent()
const;
237 bool IsMultitouchEvent()
const;
240 bool IsControllerEvent()
const;
243 bool IsControllerAxisEvent()
const;
246 bool IsControllerHatEvent()
const;
249 bool IsInputEvent()
const;
253 bool IsAltKey()
const;
256 bool IsCtrlKey()
const;
259 bool IsShiftKey()
const;
262 bool IsSuperKey()
const;
266 bool IsPollable()
const;
282 bool operator==(
const MetaCode& Other)
const;
286 bool operator!=(
const MetaCode& Other)
const;
291 bool operator<(
const MetaCode& Other)
const;
296 bool operator>(
const MetaCode& Other)
const;
304 void ProtoSerialize(
XML::Node& CurrentRoot)
const;
308 void ProtoDeSerialize(
const XML::Node& OneNode);
311 String SerializableName()
const;
315 typedef std::vector< Input::MetaCode > MetaCodeContainer;
316 typedef MetaCodeContainer::iterator MetaCodeIterator;
317 typedef MetaCodeContainer::const_iterator ConstMetaCodeIterator;