Repository navigation
docs/gameinput: one row per interface in the API table (EGEN-GAMEINPUT-DUP-ROWS) - #5309
evilclanker9000 wants to merge 1 commit into
Conversation
|
Independent CPU verification on Windows 11 (Python 3.14.7, head
Looks good to merge. AI-assisted. |
|
Reviewed and tested The rows that stay match the shim (
So the two deleted rows were the stale ones: they put the raw report under "not implemented" and left out the raw device I/O. Ran
Minor, non-blocking: a row whose first cell is empty is collected as No game files. AI-assisted. |
|
Tested
Which rows go: confirmed with
Small correction to the description: the stale Nit: there are two blank lines between AI-assisted. |
Kam471
left a comment
There was a problem hiding this comment.
Head f7b7a6fda. git diff --check clean.
python -I tests/test_docs_table_rows.py -v-> 5 tests OK, includingtest_interface_tables_name_each_interface_once.- Same test on
origin/main->FAILED (failures=1),docs\gameinput.md:313: an interface is listed twice: IGameInputDevice, IGameInputReading. test_docs_links6 OK,test_docs_design_rows4 OK,test_i18n_index5 OK.git blame: the kept Reading/Device rows aredac28e6b1's; the deleted ones are the older RT-160/175 text, andruntime/shims/gameinput.cppimplementsGetRawReport(662),CreateRawDeviceReport(683) andSendRawDeviceOutput(729), so the kept rows are the current ones.
Note: the branch is #5304's head 2f78f7ebe plus one commit, so the diff vs main also contains #5304's README status-table dedupe and its helpers/tests. Merge #5304 first (or rebase) so this reviews as 2 docs lines + the interface test.
Verdict: approve.
The API table listed IGameInputReading and IGameInputDevice twice: an older, shorter copy (no raw-device I/O on the device row, no raw report on the reading row) below the current one. Remove the stale copy, as the surrounding rows already are.
f7b7a6f to
f462b0b
Compare
|
Rebuilt on |
Claimed in the coordination issue as: EGEN-GAMEINPUT-DUP-ROWS
What and why
docs/gameinput.md's API table listed two interfaces twice:IGameInputReadingandIGameInputDevice. The firstcopies (from the maintainer's merge fix
dac28e6b1) list the raw report on the reading and the raw-device I/O callson the device, which
runtime/shims/gameinput.cppimplements (CreateRawDeviceReportat :474,SendRawDeviceOutputat :477); the second copies are the older, shorter text. This keeps one row per interface and drops the stale copy,
so the table no longer says two things about the same method set.
Test
Before: four
IGameInput*rows in the table (318/319 and 321/322), soIGameInputReadingandIGameInputDeviceappeared twice. After: 317
IGameInput, 318IGameInputReading, 319IGameInputDevice, 320IGameInputRawDeviceReport, 321IGameInputDispatcher- each once.No GPU needed: documentation only.
Notes
test helper belongs with it, so this PR is rebuilt on
upstream/mainwith only thedocs/gameinput.mdhunk - onePR per file rather than two PRs touching README.
upstream/main561b65a83; one commit.AI-assisted.