input_common/main: Add "/Mouse" to the display name

merge-requests/60/head
Morph 2020-08-26 22:41:51 +07:00
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();