41 #ifndef _inputmetacode_h
42 #define _inputmetacode_h
72 #include "Input/inputenumerations.h"
173 static MetaCodeContainer CreateMetaCodes(
const RawEvent& Raw);
188 void SetCode(
const Int32 NewCode);
197 void SetMetaValue(
const Int32 Value);
203 Int32 GetMetaValue()
const;
206 void SetDeviceIndex(
const Int32 Index);
210 Int32 GetDeviceIndex()
const;
212 void SetNullValues();
248 Boole IsKeyboardButton()
const;
251 Boole IsMouseButton()
const;
254 Boole IsControllerButton()
const;
257 Boole IsDeviceButton()
const;
261 Boole IsKeyboardEvent()
const;
264 Boole IsMouseEvent()
const;
267 Boole IsMouseMotionEvent()
const;
270 Boole IsMouseMultiClickEvent()
const;
273 Boole IsMultitouchEvent()
const;
276 Boole IsControllerEvent()
const;
279 Boole IsControllerAxisEvent()
const;
282 Boole IsControllerHatEvent()
const;
285 Boole IsInputEvent()
const;
289 Boole IsAltKey()
const;
292 Boole IsCtrlKey()
const;
295 Boole IsShiftKey()
const;
298 Boole IsSuperKey()
const;
302 Boole IsPollable()
const;
339 void ProtoSerialize(
XML::Node& CurrentRoot)
const;
342 void ProtoDeSerialize(
const XML::Node& OneNode);
346 String GetSerializableName()
const;
std::ostream & operator<<(std::ostream &stream, const Mezzanine::LinearInterpolator< T > &Lint)
Used to Serialize an Mezzanine::LinearInterpolator to a human readable stream.
int32_t Int32
An 32-bit integer.
bool Boole
Generally acts a single bit, true or false.
All the definitions for datatypes as well as some basic conversion functions are defined here...
SDL_Event RawEvent
This is an internal datatype use to communicate with the User input Subsystem.
Input::MetaCode::MetaCodeIterator MetaCodeIterator
Iterator type for convenient MetaCode storage.
uint16_t UInt16
An 16-bit unsigned integer.
A light-weight handle for manipulating nodes in DOM tree.
Input::MetaCode::ConstMetaCodeIterator ConstMetaCodeIterator
Const Iterator type for convenient MetaCode storage.
Input::MetaCode::MetaCodeContainer MetaCodeContainer
Convenience datatype for storage of MetaCodes.
The bulk of the engine components go in this namspace.
std::istream & operator>>(std::istream &stream, Mezzanine::LinearInterpolator< T > &Lint)
Used to de-serialize an Mezzanine::LinearInterpolator from a stream.
std::string String
A datatype used to a series of characters.