test(keyboard): verify wrapped history order #17934
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17934"
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 DonRyuzaki on 2026-11-09T23:46:50Z.
What
Exercise
sceKeyboardReadafter more than one full 16-entry history buffer of input changes. The test alternates press/release for 20 keys, then checks that chunked reads return the latest 16 snapshots in FIFO order without overwriting past the requested count. This covers ring-head wrap that the existing simultaneous-key test did not reach.Tested
keyboard_testsbuilt andctest -R '^keyboard_input$'passed (1/1) at final source commit506b18141e3148029fd3f33a224274a78a5a224b.+1to+2; the focused test failed at the new FIFO assertion inKeyboard.cpp:112. Restored source, rebuilt, and the focused test passed again (1/1). The test-local PRX was refreshed after each rebuild.1c288270a7378112e14704deb79edae1d8663204.tools/check_conventions.py --base origin/mainandgit diff --check origin/mainpassed; worktree clean.tools/pr_overlap.pycould not run locally becauseghis absent.Checklist
main; no other open PR implements the same functions