mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
[android] expose vid/pid to the frontend so the value can be saved to autoconf files
This commit is contained in:
parent
11e8a498df
commit
766b6b811e
@ -678,6 +678,9 @@ static void handle_hotplug(android_input_t *android,
|
||||
params.idx = *port;
|
||||
params.vid = vendorId;
|
||||
params.pid = productId;
|
||||
settings->input.pid[*port] = params.pid;
|
||||
settings->input.vid[*port] = params.vid;
|
||||
|
||||
strlcpy(params.driver, android_joypad.ident, sizeof(params.driver));
|
||||
autoconfigured = input_config_autoconfigure_joypad(¶ms);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user