Fixes evdev settings & multiple pads handling

This commit is contained in:
RipleyTom 2019-11-05 17:34:04 +01:00 committed by Ivan
parent af0bd7136d
commit 4ff6acf6ba
2 changed files with 14 additions and 6 deletions

View file

@ -355,7 +355,7 @@ private:
positive_axis m_pos_axis_config;
std::vector<u32> m_positive_axis;
std::vector<std::string> blacklist;
int m_pad_index = -1;
std::unordered_map<std::string, int> settings_added;
std::shared_ptr<EvdevDevice> m_dev;
bool m_is_button_or_trigger;
bool m_is_negative;