Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
FlingEngine
Core
inc
Input
WindowsInput.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Input/Input.h
"
4
5
#if defined FLING_WINDOWS
6
7
namespace
Fling
8
{
12
class
WindowsInput :
public
Input
13
{
14
protected
:
15
16
virtual
void
InitImpl()
override
;
17
virtual
void
ShutdownImpl()
override
;
18
19
virtual
void
InitKeyMap()
override
;
20
21
virtual
void
PollImpl()
override
;
22
23
virtual
bool
IsKeyDownImpl(
const
std::string& t_KeyName)
override
;
24
virtual
bool
IsKeyHelpImpl(
const
std::string& t_KeyName)
override
;
25
virtual
bool
IsMouseButtonPressedImpl(
const
std::string& t_KeyName)
override
;
26
virtual
bool
IsMouseDownImpl(
const
std::string& t_KeyName)
override
;
27
28
29
virtual
MousePos GetMousePosImpl()
override
;
30
};
31
}
// namespace Fling
32
33
#endif // FLING_WINDOWS
Input.h
Fling
Definition:
Engine.h:13
Generated by
1.8.13