mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 08:42:45 +01:00
input_common/main: Add "/Mouse" to the display name
This commit is contained in:
parent
f5f30781ae
commit
8ffc491546
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ std::string GenerateAnalogParamFromKeys(int key_up, int key_down, int key_left,
|
||||||
std::vector<Common::ParamPackage> GetInputDevices() {
|
std::vector<Common::ParamPackage> GetInputDevices() {
|
||||||
std::vector<Common::ParamPackage> devices = {
|
std::vector<Common::ParamPackage> devices = {
|
||||||
Common::ParamPackage{{"display", "Any"}, {"class", "any"}},
|
Common::ParamPackage{{"display", "Any"}, {"class", "any"}},
|
||||||
Common::ParamPackage{{"display", "Keyboard"}, {"class", "key"}},
|
Common::ParamPackage{{"display", "Keyboard/Mouse"}, {"class", "key"}},
|
||||||
};
|
};
|
||||||
#ifdef HAVE_SDL2
|
#ifdef HAVE_SDL2
|
||||||
auto sdl_devices = sdl->GetInputDevices();
|
auto sdl_devices = sdl->GetInputDevices();
|
||||||
|
|
Loading…
Reference in a new issue