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

This commit is contained in:
Morph 2020-08-26 22:41:51 -04:00
parent f5f30781ae
commit 8ffc491546

View File

@ -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();