hle: add BluetoothHid, DeviceService and Usbd stubs #1031
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1031
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1031/head"
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?
@defektu on GitHub · 2026-10-04 01:02 UTC · original
defektu:pr/mfgt-hle→main· +128 −0 · 4 files · 1 commits · merged 2026-10-04 23:04 UTCAdds minimal BluetoothHid, DeviceService and Usbd stubs and registers their exports. USB event polling sleeps for 16 ms; DeviceService leaves output memory untouched because its layout is unverified.
@coderabbitai[bot] on GitHub · 2026-10-04 01:11 UTC · original · edited 2026-10-04 23:06 UTC
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
2fa8aeb5-ac1a-4369-a3bb-15ff6e9c94f5📥 Commits
Reviewing files that changed from the base of the PR and between
db17585277and c38d9048e14b55ff85aadf8499ad929ef4e1e7b5.📒 Files selected for processing (7)
src/kernel/eventQueue.cppsrc/kernel/eventQueue.hsrc/libs/libAmpr.cppsrc/libs/libBluetoothHid.cppsrc/libs/libDeviceService.cppsrc/libs/libUsbd.cppsrc/libs/libs.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
Walkthrough
The event queue now registers, deletes, and triggers AMPR events using the AMPR filter. APR kernel-event execution calls the new AMPR trigger function. The change also adds Bluetooth HID, DeviceService, and USB device library implementations and registers them during library initialization.
Suggested reviewers:
nmzikPriority: ➖ Normal
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
c38d9The change routes AMPR completion events through a dedicated filter and adds minimal stub device libraries. No concrete merge-blocking defect was established in the supplied evidence.
Security Architecture Review
Security architecture risk: 🟡 Moderate · up to
c38d9A newly supported device-information call writes 64 bytes without a confirmed output-buffer contract. Incompatible callers could suffer memory corruption. Exploitability is unproven, and the changes do not demonstrate new privileged device access.
Retained concerns
Security review details
Security Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.