Added Keyboard::GetKeyName (experimental)

Former-commit-id: a937b98ceeed3cb7c64bf6c1f544bb7021ad01bd
This commit is contained in:
Lynix
2012-10-26 14:09:09 +02:00
parent 4c23ccf1c6
commit 3a9e8850c0
4 changed files with 91 additions and 31 deletions

View File

@@ -8,12 +8,14 @@
#define NAZARA_INPUTIMPL_HPP
#include <Nazara/Math/Vector2.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Utility/Keyboard.hpp>
#include <Nazara/Utility/Mouse.hpp>
class NzEventImpl
{
public:
static NzString GetKeyName(NzKeyboard::Key key);
static NzVector2i GetMousePosition();
static NzVector2i GetMousePosition(const NzWindow& relativeTo);
static bool IsKeyPressed(NzKeyboard::Key key);