mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Fix autoconfig saving for udev
This commit is contained in:
parent
b602d465b4
commit
c6481b1930
@ -289,6 +289,9 @@ static int udev_add_pad(struct udev_device *dev, unsigned p, int fd, const char
|
||||
strlcpy(params.name, pad->ident, sizeof(params.name));
|
||||
params.vid = pad->vid;
|
||||
params.pid = pad->pid;
|
||||
settings->input.pid[p] = params.pid;
|
||||
settings->input.vid[p] = params.vid;
|
||||
strlcpy(settings->input.device_names[p], params.name, sizeof(settings->input.device_names[p]));
|
||||
strlcpy(params.driver, udev_joypad.ident, sizeof(params.driver));
|
||||
input_config_autoconfigure_joypad(¶ms);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user