ControllerInterface: Update sort priorities.
This commit is contained in:
parent
076a262b9e
commit
566dfc1cf4
|
@ -64,7 +64,7 @@ public:
|
|||
|
||||
std::string GetName() const override;
|
||||
std::string GetSource() const override;
|
||||
int GetSortPriority() const override { return -2; }
|
||||
int GetSortPriority() const override { return -3; }
|
||||
|
||||
bool IsValid() const final override;
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ public:
|
|||
std::string GetSource() const final override;
|
||||
std::optional<int> GetPreferredId() const final override;
|
||||
// Always add these at the end, given their hotplug nature
|
||||
int GetSortPriority() const override { return -4; }
|
||||
int GetSortPriority() const override { return -5; }
|
||||
|
||||
private:
|
||||
void ResetPadData();
|
||||
|
|
|
@ -172,6 +172,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
int GetSortPriority() const override { return -1; }
|
||||
|
||||
private:
|
||||
// `boolean` comes from Windows API. (typedef of unsigned char)
|
||||
using ButtonValueType = boolean;
|
||||
|
|
|
@ -323,7 +323,7 @@ std::string Device::GetSource() const
|
|||
// Always add these at the end, given their hotplug nature
|
||||
int Device::GetSortPriority() const
|
||||
{
|
||||
return -3;
|
||||
return -4;
|
||||
}
|
||||
|
||||
void Device::RunTasks()
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
std::string GetName() const override;
|
||||
std::string GetSource() const override;
|
||||
std::optional<int> GetPreferredId() const override;
|
||||
int GetSortPriority() const override { return -1; }
|
||||
int GetSortPriority() const override { return -2; }
|
||||
|
||||
void UpdateInput() override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue