input_common/main: Add "/Mouse" to the display name
This commit is contained in:
parent
f5f30781ae
commit
8ffc491546
|
@ -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 New Issue