mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 00:05:38 +01:00
core: hid: Remove deadzone of virtual controller
This commit is contained in:
parent
e0895a8581
commit
70a97fb5c7
@ -280,6 +280,10 @@ void EmulatedController::LoadVirtualGamepadParams() {
|
|||||||
virtual_stick_params[Settings::NativeAnalog::LStick].Set("axis_y", 1);
|
virtual_stick_params[Settings::NativeAnalog::LStick].Set("axis_y", 1);
|
||||||
virtual_stick_params[Settings::NativeAnalog::RStick].Set("axis_x", 2);
|
virtual_stick_params[Settings::NativeAnalog::RStick].Set("axis_x", 2);
|
||||||
virtual_stick_params[Settings::NativeAnalog::RStick].Set("axis_y", 3);
|
virtual_stick_params[Settings::NativeAnalog::RStick].Set("axis_y", 3);
|
||||||
|
virtual_stick_params[Settings::NativeAnalog::LStick].Set("deadzone", 0.0f);
|
||||||
|
virtual_stick_params[Settings::NativeAnalog::LStick].Set("range", 1.0f);
|
||||||
|
virtual_stick_params[Settings::NativeAnalog::RStick].Set("deadzone", 0.0f);
|
||||||
|
virtual_stick_params[Settings::NativeAnalog::RStick].Set("range", 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmulatedController::ReloadInput() {
|
void EmulatedController::ReloadInput() {
|
||||||
|
Loading…
Reference in New Issue
Block a user