Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
KeyboardRemappingLayout.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/input/KeyboardType.h"
7#include "mc/client/input/RemappingLayout.h"
8#include "mc/deps/input/enums/RawInputType.h"
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, ::KeyboardType const> mKeyboardType;
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 KeyboardRemappingLayout();
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~KeyboardRemappingLayout() /*override*/ = default;
25
26 virtual void
27 setMappingWithRawInput(::std::string const& action, int rawKeyIndex, ::RawInputType rawKeyType) /*override*/;
28
29 virtual ::std::string getMappedKeyName(int key) const /*override*/;
30
31 virtual ::std::string getMappedKeyName(int key, bool checkUserConfiguredSwap) const /*override*/;
32
33 virtual int getAdjustedKey(int key) const /*override*/;
34
35 virtual ::std::string getSaveString(::std::string const& action) const /*override*/;
36
37 virtual int _rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI explicit KeyboardRemappingLayout(::KeyboardType keyboardType);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCNAPI void* $ctor(::KeyboardType keyboardType);
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI void $setMappingWithRawInput(::std::string const& action, int rawKeyIndex, ::RawInputType rawKeyType);
56
57 MCNAPI ::std::string $getMappedKeyName(int key) const;
58
59 MCNAPI ::std::string $getMappedKeyName(int key, bool checkUserConfiguredSwap) const;
60
61 MCNAPI int $getAdjustedKey(int key) const;
62
63 MCNAPI ::std::string $getSaveString(::std::string const& action) const;
64
65 MCNAPI int $_rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const;
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition KeyboardRemappingLayout.h:5
MCAPI::std::string $getMappedKeyName(int key) const
static MCAPI void ** $vftable()
MCAPI int $_rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const
MCAPI void * $ctor(::KeyboardType keyboardType)
MCAPI KeyboardRemappingLayout(::KeyboardType keyboardType)
MCAPI::std::string $getSaveString(::std::string const &action) const
MCAPI::std::string $getMappedKeyName(int key, bool checkUserConfiguredSwap) const
MCAPI int $getAdjustedKey(int key) const
Definition RemappingLayout.h:5