libusb: support hotplug (#16580)

This commit is contained in:
Sanjay Govind 2025-01-24 11:49:24 +13:00 committed by GitHub
parent ba702509c8
commit e2bbaa2430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 471 additions and 241 deletions

View file

@ -637,6 +637,8 @@ void pad_thread::UnregisterLddPad(u32 handle)
ensure(handle < m_pads.size());
m_pads[handle]->ldd = false;
m_pads[handle]->m_port_status &= ~CELL_PAD_STATUS_CONNECTED;
m_pads[handle]->m_port_status |= CELL_PAD_STATUS_ASSIGN_CHANGES;
num_ldd_pad--;
}