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) 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 MCAPI explicit KeyboardRemappingLayout(::KeyboardType keyboardType);
44
45 MCFOLD ::KeyboardType getKeyboardType() const;
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(::KeyboardType keyboardType);
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI void $setMappingWithRawInput(::std::string const& action, int rawKeyIndex, ::RawInputType rawKeyType);
58
59 MCAPI ::std::string $getMappedKeyName(int key) const;
60
61 MCAPI ::std::string $getMappedKeyName(int key, bool) const;
62
63 MCAPI int $getAdjustedKey(int key) const;
64
65 MCAPI ::std::string $getSaveString(::std::string const& action) const;
66
67 MCAPI int $_rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition KeyboardRemappingLayout.h:5
static MCAPI void ** $vftable()
Definition RemappingLayout.h:5