LeviLamina
Loading...
Searching...
No Matches
KeyboardEventProcessor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
Bedrock::Input {
6
7
class
KeyboardEventProcessor
{
8
public
:
9
// KeyboardEventProcessor inner types define
10
enum class
InputOrigin :
int
{
11
Unknown = 0,
12
Hardware = 1,
13
Virtual = 2,
14
};
15
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual
~KeyboardEventProcessor() =
default
;
20
21
virtual
void
onKeyDown(
int
keyCode, ::Bedrock::Input::KeyboardEventProcessor::InputOrigin origin) = 0;
22
23
virtual
void
onKeyUp(
int
keyCode) = 0;
24
// NOLINTEND
25
26
public
:
27
// virtual function thunks
28
// NOLINTBEGIN
29
30
// NOLINTEND
31
};
32
33
}
// namespace Bedrock::Input
Bedrock::Input::KeyboardEventProcessor
Definition
KeyboardEventProcessor.h:7
src-client
mc
deps
input
KeyboardEventProcessor.h
Generated on
for LeviLamina by
1.16.1