2015-07-10 21:07:24 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class IKeyManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void RefreshState() = 0;
|
|
|
|
virtual bool IsKeyPressed(uint32_t keyCode) = 0;
|
|
|
|
virtual uint32_t GetPressedKey() = 0;
|
2015-07-11 08:27:22 -04:00
|
|
|
virtual string GetKeyName(uint32_t keyCode) = 0;
|
|
|
|
virtual uint32_t GetKeyCode(string keyName) = 0;
|
2015-07-10 21:07:24 -04:00
|
|
|
};
|