mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
WiimoteEmu: Allow writes of the i2c bus to play speaker data.
This commit is contained in:
parent
ed32a2a1fe
commit
d9e7d0514c
6 changed files with 17 additions and 10 deletions
|
@ -75,11 +75,11 @@ public:
|
|||
|
||||
template <typename T>
|
||||
void AddSetting(SettingValue<T>* value, const NumericSettingDetails& details,
|
||||
std::common_type_t<T> default_value, std::common_type_t<T> min_value = {},
|
||||
std::common_type_t<T> default_value_, std::common_type_t<T> min_value = {},
|
||||
std::common_type_t<T> max_value = T(100))
|
||||
{
|
||||
numeric_settings.emplace_back(
|
||||
std::make_unique<NumericSetting<T>>(value, details, default_value, min_value, max_value));
|
||||
std::make_unique<NumericSetting<T>>(value, details, default_value_, min_value, max_value));
|
||||
}
|
||||
|
||||
void AddDeadzoneSetting(SettingValue<double>* value, double maximum_deadzone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue