mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-15 23:30:25 +02:00
ControllerInterface: Adjust sort priorities to ensure default keyboard-mouse device is first.
This commit is contained in:
1 parent
04c246d11f
commit
42e73547eb
6 files changed
+15
-1
No files matched your search
@@ -414,6 +414,11 @@ std::string KeyboardMouse::GetSource() const
|
||||
return std::string(SOURCE_NAME);
|
||||
}
|
||||
|
||||
int KeyboardMouse::GetSortPriority() const
|
||||
{
|
||||
return DEFAULT_DEVICE_SORT_PRIORITY;
|
||||
}
|
||||
|
||||
KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* keyboard)
|
||||
: m_display(display), m_keyboard(keyboard), m_keycode(keycode)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user