mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Virtual Notch settings and UI for octagonal stick
This commit is contained in:
@ -28,6 +28,17 @@ ControlGroup::ControlGroup(std::string name_, std::string ui_name_, const GroupT
|
||||
{
|
||||
}
|
||||
|
||||
void ControlGroup::AddVirtualNotchSetting(SettingValue<double>* value, double max_virtual_notch_deg)
|
||||
{
|
||||
AddSetting(value,
|
||||
{_trans("Virtual Notches"),
|
||||
// i18n: The degrees symbol.
|
||||
_trans("°"),
|
||||
// i18n: Snap the thumbstick position to the nearest octagonal axis.
|
||||
_trans("Snap the thumbstick position to the nearest octagonal axis.")},
|
||||
0, 0, max_virtual_notch_deg);
|
||||
}
|
||||
|
||||
void ControlGroup::AddDeadzoneSetting(SettingValue<double>* value, double maximum_deadzone)
|
||||
{
|
||||
AddSetting(value,
|
||||
|
Reference in New Issue
Block a user