20 lines
643 B
C++
20 lines
643 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#include "input/input_keyboard.h"
|
|
#include "memory/memory.h"
|
|
|
|
using namespace GS::Input;
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
Keyboard::Keyboard()
|
|
{
|
|
GS::Memory::Set(is_down, 0, sizeof(bool) * (uint)Key_Last);
|
|
GS::Memory::Set(was_down, 0, sizeof(bool) * (uint)Key_Last);
|
|
}
|
|
//------------------------------------------------------------------------------
|