From 42e73547eb9135ca9a93399e7300f49a5a0620f1 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 11 Jun 2024 19:13:54 -0500 Subject: ControllerInterface: Adjust sort priorities to ensure default keyboard-mouse device is first. --- .../Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/DInput') 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 -- cgit v1.2.3