input: redesign pad profiles

This commit is contained in:
Megamouse 2021-08-10 21:45:26 +02:00
parent 41cfa6349a
commit cad96cef72
28 changed files with 781 additions and 629 deletions

View file

@ -127,7 +127,7 @@ void hid_pad_handler<Device>::enumerate_devices()
if (controller.second && !controller.second->path.empty() && !device_paths.contains(controller.second->path))
{
hid_close(controller.second->hidDevice);
pad_config* config = controller.second->config;
cfg_pad* config = controller.second->config;
controller.second.reset(new Device());
controller.second->config = config;
}