Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
27
}
// 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