Files
UnrealEngine/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Key.h
2025-05-18 13:04:45 +08:00

33 lines
446 B
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
#if LC_VERSION == 1
// BEGIN EPIC MOD
#include "CoreTypes.h"
// END EPIC MOD
namespace input
{
class Key
{
public:
explicit Key(int vkCode);
void AssignCode(int vkCode);
void Clear(void);
void Update(void);
bool IsPressed(void) const;
bool WentDown(void) const;
private:
int m_vkCode;
bool m_isPressed;
bool m_wasPressed;
};
}
#endif