Browse Source
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the futurence_cpp
6 changed files with 99 additions and 3 deletions
-
1src/core/CMakeLists.txt
-
30src/core/hle/service/hid/controllers/npad.cpp
-
5src/core/hle/service/hid/controllers/npad.h
-
13src/core/hle/service/hid/errors.h
-
50src/core/hle/service/hid/hid.cpp
-
3src/core/hle/service/hid/hid.h
@ -0,0 +1,13 @@ |
|||
// Copyright 2019 yuzu emulator team |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/result.h" |
|||
|
|||
namespace Service::HID { |
|||
|
|||
constexpr ResultCode ERR_NPAD_NOT_CONNECTED{ErrorModule::HID, 710}; |
|||
|
|||
} // namespace Service::HID |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue