Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Key.h
Rolando Caloca 532adaa65c DR - Merging //UE4/Dev-Main@5531558 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#rnx

[CL 5591014 by Rolando Caloca in Dev-Rendering branch]
2019-03-27 11:33:31 -04:00

27 lines
383 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
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;
};
}