early-access version 2409
This commit is contained in:
parent
f58de3d4bb
commit
2e41bd5345
5 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2405.
|
This is the source code for early-access 2409.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@ void EmulatedConsole::SetMotion(const Common::Input::CallbackStatus& callback) {
|
||||||
auto& motion = console.motion_state;
|
auto& motion = console.motion_state;
|
||||||
motion.accel = emulated.GetAcceleration();
|
motion.accel = emulated.GetAcceleration();
|
||||||
motion.gyro = emulated.GetGyroscope();
|
motion.gyro = emulated.GetGyroscope();
|
||||||
motion.rotation = emulated.GetGyroscope();
|
motion.rotation = emulated.GetRotations();
|
||||||
motion.orientation = emulated.GetOrientation();
|
motion.orientation = emulated.GetOrientation();
|
||||||
motion.quaternion = emulated.GetQuaternion();
|
motion.quaternion = emulated.GetQuaternion();
|
||||||
motion.gyro_bias = emulated.GetGyroBias();
|
motion.gyro_bias = emulated.GetGyroBias();
|
||||||
|
|
|
@ -145,7 +145,7 @@ void EmulatedController::LoadDevices() {
|
||||||
motion_devices.begin(), Common::Input::CreateDevice<Common::Input::InputDevice>);
|
motion_devices.begin(), Common::Input::CreateDevice<Common::Input::InputDevice>);
|
||||||
std::transform(trigger_params.begin(), trigger_params.end(), trigger_devices.begin(),
|
std::transform(trigger_params.begin(), trigger_params.end(), trigger_devices.begin(),
|
||||||
Common::Input::CreateDevice<Common::Input::InputDevice>);
|
Common::Input::CreateDevice<Common::Input::InputDevice>);
|
||||||
std::transform(battery_params.begin(), battery_params.begin(), battery_devices.end(),
|
std::transform(battery_params.begin(), battery_params.end(), battery_devices.begin(),
|
||||||
Common::Input::CreateDevice<Common::Input::InputDevice>);
|
Common::Input::CreateDevice<Common::Input::InputDevice>);
|
||||||
std::transform(output_params.begin(), output_params.end(), output_devices.begin(),
|
std::transform(output_params.begin(), output_params.end(), output_devices.begin(),
|
||||||
Common::Input::CreateDevice<Common::Input::OutputDevice>);
|
Common::Input::CreateDevice<Common::Input::OutputDevice>);
|
||||||
|
|
|
@ -31,7 +31,7 @@ Mouse::Mouse(std::string input_engine_) : InputEngine(std::move(input_engine_))
|
||||||
PreSetAxis(identifier, wheel_axis_x);
|
PreSetAxis(identifier, wheel_axis_x);
|
||||||
PreSetAxis(identifier, wheel_axis_y);
|
PreSetAxis(identifier, wheel_axis_y);
|
||||||
PreSetAxis(identifier, touch_axis_x);
|
PreSetAxis(identifier, touch_axis_x);
|
||||||
PreSetAxis(identifier, touch_axis_x);
|
PreSetAxis(identifier, touch_axis_y);
|
||||||
update_thread = std::jthread([this](std::stop_token stop_token) { UpdateThread(stop_token); });
|
update_thread = std::jthread([this](std::stop_token stop_token) { UpdateThread(stop_token); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ void InputEngine::ResetButtonState() {
|
||||||
SetButton(controller.first, button.first, false);
|
SetButton(controller.first, button.first, false);
|
||||||
}
|
}
|
||||||
for (const auto& button : controller.second.hat_buttons) {
|
for (const auto& button : controller.second.hat_buttons) {
|
||||||
SetHatButton(controller.first, button.first, false);
|
SetHatButton(controller.first, button.first, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue