Commit Graph
12 Commits
Author SHA1 Message Date
zaryabzip 26d7585cfb feat(libSceMouse): implement the absolute position calls as firmware 13.42 does
Firmware 13.42, read and run natively, keeps an absolute position per
handle: four virtual screen sizes with a truncated rescale, a high
precision mode that moves the pointer along a curve and keeps the
fraction, and a 40-byte record per sample. sceMouseResetAbsolutePosition
now checks the current size and stores the position.
2026-10-29 22:50:08 +05:00
zaryabzip dbd29271bf Merge remote-tracking branch 'origin/main' into feat/mouse-absolute-on-9982 2026-10-29 22:06:37 +05:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
TamaleroandClaude Opus 5.5 3bfc1c11d0 test(libSceMouse): keep the order around state changes when empty reports are dropped
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 02:35:21 -07:00
TamaleroandClaude Opus 5.5 35ee902672 fix(libSceMouse): drop reports that carry no motion and no state change
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 02:00:03 -07:00
TamaleroandClaude Opus 5.5 014d9de4b6 fix(libSceMouse): sum consecutive motion into the newest unread report
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 19:09:34 -07:00
boykopovar 3823004797 fix(mouse): validate default absolute position bounds 2026-10-21 21:52:57 +03:00
al3w0f205 7dda595ea0 test(libSceMouse): cover MouseIsOpen across open and close transitions 2026-10-20 18:55:19 -05:00
Dean Galvin b816673fb5 fix(libSceMouse): take the position arguments of sceMouseResetAbsolutePosition
A call site passes the handle and then x and y as zero-extended 16-bit values (the centre of the display size), and ignores the result.
2026-10-16 22:10:10 +02:00
Masud 6b28b803fc feat(libSceMouse): implement sceMouseResetAbsolutePosition 2026-10-16 22:10:10 +02:00
hossiendehghan989 f6e9cd6ea5 fix(videoout): keep mouse helpers out of NID exports 2026-10-14 16:02:27 +00:00
Julien LegayandCopilot ddb8add753 feat(libSceVideoOut): route SDL mouse events to libSceMouse
Forward relative motion, supported button transitions, and horizontal and vertical scrolling from the existing SDL event loop. Reset pressed buttons on focus loss without reporting a device disconnect, and track window close and refocus transitions.

Link libSceVideoOut to the mouse library using the existing Pad integration pattern. Add targeted coverage for API errors, event mapping, focus changes, history overflow, and reopening.

Co-authored-by: Copilot <[email protected]>
2026-09-28 11:45:31 +02:00