mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-11 10:54:01 +00:00
e7e77ccfa7
Fixed exception throwing to be standard
13 lines
288 B
C++
13 lines
288 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
class IKeyManager
|
|
{
|
|
public:
|
|
virtual void RefreshState() = 0;
|
|
virtual bool IsKeyPressed(uint32_t keyCode) = 0;
|
|
virtual uint32_t GetPressedKey() = 0;
|
|
virtual string GetKeyName(uint32_t keyCode) = 0;
|
|
virtual uint32_t GetKeyCode(string keyName) = 0;
|
|
}; |