mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +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…
Reference in New Issue
Block a user