diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-11-26 07:06:13 +0100 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-11-26 07:06:13 +0100 |
commit | a2cc3b10bb6115b17d980fdb83ed5c561835eb3b (patch) | |
tree | e802627fe23c3ad043c86bcf757d15d902127766 /src/core/hle/service/hid/controllers | |
parent | Merge pull request #1800 from encounter/svcgetinfo (diff) | |
download | yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar.gz yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar.bz2 yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar.lz yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar.xz yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.tar.zst yuzu-a2cc3b10bb6115b17d980fdb83ed5c561835eb3b.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 46604887c..3b624a162 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -524,6 +524,8 @@ void Controller_NPad::SetNpadMode(u32 npad_id, NPadAssignments assignment_mode) void Controller_NPad::VibrateController(const std::vector<u32>& controller_ids, const std::vector<Vibration>& vibrations) { + LOG_WARNING(Service_HID, "(STUBBED) called"); + if (!can_controllers_vibrate) { return; } @@ -533,7 +535,6 @@ void Controller_NPad::VibrateController(const std::vector<u32>& controller_ids, // TODO(ogniK): Vibrate the physical controller } } - LOG_WARNING(Service_HID, "(STUBBED) called"); last_processed_vibration = vibrations.back(); } |