Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Key.h
Chris Gagnon 00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -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;
};
}