40 #ifndef _inputkeyboard_cpp
41 #define _inputkeyboard_cpp
43 #include "Input/keyboard.h"
63 for(
Whole X = 0 ; X < DeltaCodes.size() ; ++X )
75 if( !MCIt->IsKeyboardEvent() )
82 for(
UInt32 Index = 0 ; Index < this->
Buttons.size() ; ++Index )
93 {
return std::numeric_limits<UInt16>::max(); }
96 {
return this->
Buttons.at( Button - 1 ); }
99 {
return this->
Buttons.at(Button); }
#define MEZZ_EXCEPTION(num, desc)
An easy way to throw exceptions with rich information.
This implements the exception hiearchy for Mezzanine.
uint16_t UInt16
An 16-bit unsigned integer.
uint32_t UInt32
An 32-bit unsigned integer.
Thrown when parameters are checked at runtime and found invalid.
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.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.