mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 12:57:49 +00:00
hid: Use player-defined controller type as PREFERRED_CONTROLLER
This commit is contained in:
parent
25c07217cf
commit
2d8a5a4e9b
16 changed files with 234 additions and 296 deletions
|
@ -5,9 +5,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <QDialog>
|
||||
#include <QWidget>
|
||||
#include <boost/optional.hpp>
|
||||
#include "core/settings.h"
|
||||
|
||||
class QCheckBox;
|
||||
|
@ -30,7 +30,7 @@ private:
|
|||
std::unique_ptr<Ui::ConfigureMouseAdvanced> ui;
|
||||
|
||||
/// This will be the the setting function when an input is awaiting configuration.
|
||||
boost::optional<std::function<void(const Common::ParamPackage&)>> input_setter;
|
||||
std::optional<std::function<void(const Common::ParamPackage&)>> input_setter;
|
||||
|
||||
std::array<QPushButton*, Settings::NativeMouseButton::NumMouseButtons> button_map;
|
||||
std::array<Common::ParamPackage, Settings::NativeMouseButton::NumMouseButtons> buttons_param;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue