diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-06-15 21:12:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 21:12:08 +0200 |
| commit | ed4a09fa56db3fb466e932c369fca0717d867472 (patch) | |
| tree | 96661f8e73f548b6497a88d2f3bf622976c2d82f /Source/Core/InputCommon/ControllerInterface/DInput | |
| parent | 56fd9c177c0c907a342eedf0a91df089b8f0eea1 (diff) | |
| parent | 42e73547eb9135ca9a93399e7300f49a5a0620f1 (diff) | |
Merge pull request #12850 from jordan-woyak/device-sorting
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 8d7f7c7ada..847eb72cca 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp @@ -281,7 +281,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 |
