3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/input/KeyboardType.h"
7#include "mc/client/settings/NumberComponent.h"
23namespace Settings::KeyboardAndMouseSettingsDetails {
26MCAPI ::std::optional<::std::unique_ptr<::std::variant<
27 ::Settings::BooleanComponent,
28 ::Settings::NumberComponent<int>,
29 ::Settings::NumberComponent<float>,
30 ::Settings::OptionComponent,
31 ::Settings::StringComponent,
32 ::Settings::ActionComponent,
33 ::Settings::TextComponent,
34 ::Settings::GroupInfoComponent,
35 ::Settings::BannerComponent>>>
36createAdvancedLayoutGroup(
38 ::std::string_view
id,
40 ::Settings::KeyboardAndMouseSettingsDetails::AdvancedLayoutConfig
const& config
43MCAPI ::std::optional<::std::unique_ptr<::std::variant<
44 ::Settings::BooleanComponent,
45 ::Settings::NumberComponent<int>,
46 ::Settings::NumberComponent<float>,
47 ::Settings::OptionComponent,
48 ::Settings::StringComponent,
49 ::Settings::ActionComponent,
50 ::Settings::TextComponent,
51 ::Settings::GroupInfoComponent,
52 ::Settings::BannerComponent>>>
53createAdvancedLayoutHeader(
54 ::std::string_view
id,
55 ::Settings::KeyboardAndMouseSettingsDetails::AdvancedLayoutConfig
const& config
58MCAPI ::std::optional<::std::unique_ptr<::std::variant<
59 ::Settings::BooleanComponent,
60 ::Settings::NumberComponent<int>,
61 ::Settings::NumberComponent<float>,
62 ::Settings::OptionComponent,
63 ::Settings::StringComponent,
64 ::Settings::ActionComponent,
65 ::Settings::TextComponent,
66 ::Settings::GroupInfoComponent,
67 ::Settings::BannerComponent>>>
68createKeyboardLayoutGroup(::IOptions& options, ::std::string_view
id, ::KeyboardType type);
70MCAPI ::std::optional<::std::unique_ptr<::std::variant<
71 ::Settings::BooleanComponent,
72 ::Settings::NumberComponent<int>,
73 ::Settings::NumberComponent<float>,
74 ::Settings::OptionComponent,
75 ::Settings::StringComponent,
76 ::Settings::ActionComponent,
77 ::Settings::TextComponent,
78 ::Settings::GroupInfoComponent,
79 ::Settings::BannerComponent>>>
80createKeymappingGroup(::std::string_view
id, uint64 index, ::KeyboardRemappingLayout
const& layout);
82MCAPI ::std::optional<::std::unique_ptr<::std::variant<
83 ::Settings::BooleanComponent,
84 ::Settings::NumberComponent<int>,
85 ::Settings::NumberComponent<float>,
86 ::Settings::OptionComponent,
87 ::Settings::StringComponent,
88 ::Settings::ActionComponent,
89 ::Settings::TextComponent,
90 ::Settings::GroupInfoComponent,
91 ::Settings::BannerComponent>>>
92createMacroCommandInput(
94 ::std::string_view
id,
95 uint64 keymappingIndex,
96 ::KeyboardRemappingLayout
const& layout,
98 ::Settings::BooleanComponent,
99 ::Settings::NumberComponent<int>,
100 ::Settings::NumberComponent<float>,
101 ::Settings::OptionComponent,
102 ::Settings::StringComponent,
103 ::Settings::ActionComponent,
104 ::Settings::TextComponent,
105 ::Settings::GroupInfoComponent,
106 ::Settings::BannerComponent>& settingDependency
109MCAPI ::std::optional<::std::unique_ptr<::std::variant<
110 ::Settings::BooleanComponent,
111 ::Settings::NumberComponent<int>,
112 ::Settings::NumberComponent<float>,
113 ::Settings::OptionComponent,
114 ::Settings::StringComponent,
115 ::Settings::ActionComponent,
116 ::Settings::TextComponent,
117 ::Settings::GroupInfoComponent,
118 ::Settings::BannerComponent>>>
119createResetGeneralSettings(::IOptions& options, ::std::string_view componentId);
121MCAPI ::std::optional<::std::unique_ptr<::std::variant<
122 ::Settings::BooleanComponent,
123 ::Settings::NumberComponent<int>,
124 ::Settings::NumberComponent<float>,
125 ::Settings::OptionComponent,
126 ::Settings::StringComponent,
127 ::Settings::ActionComponent,
128 ::Settings::TextComponent,
129 ::Settings::GroupInfoComponent,
130 ::Settings::BannerComponent>>>
131createResetInputBindings(::IOptions& options, ::std::string_view componentId);
133MCAPI ::std::optional<::std::unique_ptr<::std::variant<
134 ::Settings::BooleanComponent,
135 ::Settings::NumberComponent<int>,
136 ::Settings::NumberComponent<float>,
137 ::Settings::OptionComponent,
138 ::Settings::StringComponent,
139 ::Settings::ActionComponent,
140 ::Settings::TextComponent,
141 ::Settings::GroupInfoComponent,
142 ::Settings::BannerComponent>>>
143createSmoothRotationSpeed(::IOptions& options, ::std::string_view componentId);
145MCAPI ::std::vector<uint64> getChordKeysIndex(::KeyboardRemappingLayout
const& layout);
147MCAPI ::std::vector<uint64> getMacroKeysIndex(::KeyboardRemappingLayout
const& layout);
149MCAPI ::std::vector<uint64> getNormalKeysIndex(::KeyboardRemappingLayout
const& layout);
Definition KeyboardRemappingLayout.h:5
Definition ActionComponent.h:7
Definition BannerComponent.h:7
Definition BooleanComponent.h:7
Definition GroupInfoComponent.h:7
Definition OptionComponent.h:7
Definition StringComponent.h:7
Definition TextComponent.h:7
Definition AdvancedLayoutConfig.h:7