(Apple HID) Implement VID/PID passing

This commit is contained in:
Twinaphex 2014-10-01 14:24:55 +02:00
parent 76240aa322
commit 41351fc73c
2 changed files with 1 additions and 4 deletions

View File

@ -198,9 +198,8 @@ static void hid_manager_device_attached(void* context, IOReturn result,
strlcpy(g_settings.input.device_names[connection->slot],
device_name, sizeof(g_settings.input.device_names));
/* TODO - VID/PID? */
input_config_autoconfigure_joypad(connection->slot,
device_name, 0, 0, apple_joypad.ident);
device_name, connection->v_id, connection->p_id, apple_joypad.ident);
RARCH_LOG("Port %d: %s.\n", connection->slot, device_name);
}
}

View File

@ -2574,8 +2574,6 @@ static void main_clear_state_extern(void)
deinit_subsystem_fullpaths();
rarch_deinit_recording();
deinit_log_file();
history_playlist_free();