feat(libSceBluetoothHid): add Bluetooth HID with no devices attached #1354
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1354"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by gjonn on 2026-10-08T00:06:26Z.
What
A title links
libSceBluetoothHid.prx, which did not exist, so the title could not load. This adds the module with the eight exports the title imports, for a host where no Bluetooth HID device connects:sceBluetoothHidInit()succeeds.sceBluetoothHidRegisterCallback(callback, flags, param)andsceBluetoothHidUnregisterCallback()succeed; a null callback throws. The callback is never called because no device connects.sceBluetoothHidRegisterDevice(vendorId, productId)andsceBluetoothHidUnregisterDevice(vendorId, productId)succeed.sceBluetoothHidGetDeviceName,sceBluetoothHidGetInputReportandsceBluetoothHidSetOutputReportneed a connected device and throwNotImplemented.The signatures come from a title that loads sysmodule 0xfb, calls
sceBluetoothHidInit()and gives up on Bluetooth wheels if it fails, then registers its callback with a 16-byte param and registers vendor/product pairs such as(0x44f, 0x1000). This is recorded under unknown function info, and the module is listed under silent stubs. The module gets a CMakeLists so the test can be registered.Tested
guest_bluetooth_hidtest passes.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T00:06:51Z.
Progress report (
9619edf→cb00552)📉 System libraries: 85.51% (-0.06%, +5 implemented, +3 declared functions)
✅ 5 implemented
sceBluetoothHidInitsceBluetoothHidRegisterCallbacksceBluetoothHidRegisterDevicesceBluetoothHidUnregisterCallbacksceBluetoothHidUnregisterDevice🆕 3 declared as stubs
sceBluetoothHidGetDeviceNamesceBluetoothHidGetInputReportsceBluetoothHidSetOutputReport