diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2024-06-11 19:13:54 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2024-06-15 12:41:25 -0500 |
| commit | 42e73547eb9135ca9a93399e7300f49a5a0620f1 (patch) | |
| tree | 93fe723e95b491aa6deb9b0fed6eae2f7d7fda1f /Source/Core/InputCommon/ControllerInterface/DInput | |
| parent | 04c246d11f60719d20af67c230cfe0a866dcaf54 (diff) | |
ControllerInterface: Adjust sort priorities to ensure default keyboard-mouse device is first.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp index 3c6a82dcd8..ac6406509b 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp @@ -271,7 +271,7 @@ std::string KeyboardMouse::GetSource() const // Give this device a higher priority to make sure it shows first int KeyboardMouse::GetSortPriority() const { - return 5; + return DEFAULT_DEVICE_SORT_PRIORITY; } bool KeyboardMouse::IsVirtualDevice() const |
