diff options
author | CJBok <cjbok@ziggo.nl> | 2020-02-18 06:45:37 +0100 |
---|---|---|
committer | CJBok <cjbok@ziggo.nl> | 2020-02-18 06:45:37 +0100 |
commit | 23c4cc80e2ee13ce38b89e9a1388c239b37d5a49 (patch) | |
tree | 8966c39b56a3b4d92ca80e4f18a5c01a4a02d3c2 /src/core/hle/service/hid/controllers/npad.cpp | |
parent | Merge pull request #3412 from Morph1984/aspect-ratio (diff) | |
download | yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar.gz yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar.bz2 yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar.lz yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar.xz yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.tar.zst yuzu-23c4cc80e2ee13ce38b89e9a1388c239b37d5a49.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 15c09f04c..c1e32b28c 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -287,13 +287,13 @@ void Controller_NPad::RequestPadStateUpdate(u32 npad_id) { analog_state[static_cast<std::size_t>(JoystickId::Joystick_Left)]->GetAnalogDirectionStatus( Input::AnalogDirection::DOWN)); - pad_state.r_stick_up.Assign(analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] - ->GetAnalogDirectionStatus(Input::AnalogDirection::RIGHT)); - pad_state.r_stick_left.Assign(analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] - ->GetAnalogDirectionStatus(Input::AnalogDirection::LEFT)); pad_state.r_stick_right.Assign( analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] - ->GetAnalogDirectionStatus(Input::AnalogDirection::UP)); + ->GetAnalogDirectionStatus(Input::AnalogDirection::RIGHT)); + pad_state.r_stick_left.Assign(analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] + ->GetAnalogDirectionStatus(Input::AnalogDirection::LEFT)); + pad_state.r_stick_up.Assign(analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] + ->GetAnalogDirectionStatus(Input::AnalogDirection::UP)); pad_state.r_stick_down.Assign(analog_state[static_cast<std::size_t>(JoystickId::Joystick_Right)] ->GetAnalogDirectionStatus(Input::AnalogDirection::DOWN)); |