settings: Fix Debug controller type options

This commit is contained in:
german77 authored and Narr the Reg committed 2021-11-24 20:30:26 -06:00
1 parent 9f91335a71
commit a8852024b6
13 files changed
+77 -95

No files matched your search

+2 -3
View File
@@ -96,7 +96,7 @@ struct MappingCallback {
struct InputIdentifier {
PadIdentifier identifier;
EngineInputType type;
std::size_t index;
int index;
UpdateCallback callback;
};
@@ -216,12 +216,11 @@ private:
bool IsInputIdentifierEqual(const InputIdentifier& input_identifier,
const PadIdentifier& identifier, EngineInputType type,
std::size_t index) const;
int index) const;
mutable std::mutex mutex;
mutable std::mutex mutex_callback;
bool configuring{false};
bool is_callback_enabled{true};
const std::string input_engine;
int last_callback_key = 0;
std::unordered_map<PadIdentifier, ControllerData> controller_list;