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 // virtual functions
19 // NOLINTBEGIN
20 virtual ~KeyboardRemappingLayout() /*override*/ = default;
21
22 virtual void
23 setMappingWithRawInput(::std::string const& action, int rawKeyIndex, ::RawInputType rawKeyType) /*override*/;
24
25 virtual ::std::string getMappedKeyName(int key) const /*override*/;
26
27 virtual ::std::string getMappedKeyName(int key, bool checkUserConfiguredSwap) const /*override*/;
28
29 virtual int getAdjustedKey(int key) const /*override*/;
30
31 virtual ::std::string getSaveString(::std::string const& action) const /*override*/;
32
33 virtual int _rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCAPI void $setMappingWithRawInput(::std::string const& action, int rawKeyIndex, ::RawInputType rawKeyType);
40
41 MCAPI ::std::string $getMappedKeyName(int key) const;
42
43 MCAPI ::std::string $getMappedKeyName(int key, bool checkUserConfiguredSwap) const;
44
45 MCAPI int $getAdjustedKey(int key) const;
46
47 MCAPI ::std::string $getSaveString(::std::string const& action) const;
48
49 MCAPI int $_rawKeyToKey(int rawKeyIndex, ::RawInputType rawInputType) const;
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition KeyboardRemappingLayout.h:5
static MCAPI void ** $vftable()
Definition RemappingLayout.h:5