Skip to content

PROC-185: drop the duplicate GameInput API rows - #3699

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
B0D0PAD:proc-185-gameinput-api-table
Nov 23, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
B0D0PAD:proc-185-gameinput-api-table

Conversation

@B0D0PAD

@B0D0PAD B0D0PAD commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: PROC-185 (#3574)

What and why

docs/gameinput.md listed IGameInputDevice and IGameInputDispatcher twice, with contradicting cells: force feedback and haptic motors implemented in one row and "none reported" in the other, and the dispatcher quota implemented in one row and "the quota (the queue is short)" as not implemented in the other.

runtime/shims/gameinput.cpp implements both: CreateForceFeedbackEffect/IGameInputForceFeedbackEffect, IsForceFeedbackMotorPoweredOn, SetForceFeedbackMotorGain and SetHapticMotorState; and Dispatcher::Dispatch runs deliver_within with the quota. Kept those two rows and dropped the stale duplicates.

Tested

Docs only.

  • python -I tests/test_docs_links.py (5/5)
  • python -I tests/test_i18n_index.py (5/5)
  • python -I tests/test_docs_list_items.py (2/2)
  • python -I tests/test_docs_design_rows.py (2/2)
  • python -I tests/test_docs_repo_paths.py (2/2)
  • Windows 11, Python 3.14.6

No game files or GPU.

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (Not applicable: no translator change.)

AI-assisted.

docs/gameinput.md listed IGameInputDevice and IGameInputDispatcher twice with contradicting cells. Keep the rows that match runtime/shims/gameinput.cpp: force feedback and haptic motors are implemented, and Dispatch runs its quota; drop the stale duplicates.
@iurysf

iurysf commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Code read of f4e50d6: the two rows it drops are the stale ones.

  • docs/gameinput.md on main had IGameInputDevice and IGameInputDispatcher twice. The removed rows are the older ones ("force feedback and haptic motors (none reported)", "the quota (the queue is short)"); the kept rows match runtime/shims/gameinput.cpp: CreateForceFeedbackEffect / IsForceFeedbackMotorPoweredOn / SetForceFeedbackMotorGain / SetHapticMotorState, deliver_within at :707 and Dispatch(quotaInMicroseconds) at :1839. The remaining "not implemented" cell also checks out (SendInputSynchronizationHint and PowerOff are no-ops at :451-452, SendRawDeviceOutput returns E_NOTIMPL at :462).

Ran at this commit (Windows 11, -W error): tests/test_docs_design_rows.py, test_docs_links.py, test_docs_list_items.py, test_docs_repo_paths.py, test_i18n_index.py, test_text_write_line_endings.py — all OK.

Heads-up: #3172 removes the same two rows (and edits the IGameInputDevice row); a trial merge of the two conflicts in docs/gameinput.md, so whichever lands second needs a trivial rebase. The description doesn't say it's AI-assisted (AGENTS.md asks for that).

AI-assisted code read (Claude). No game data used.

@wxrrry

wxrrry commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Tested head of #3699 on Windows 11, Python 3.12:

  • Verified clean deduplication of IGameInputDevice and IGameInputDispatcher rows in docs/gameinput.md matching runtime/shims/gameinput.cpp.
  • python -I tests/test_docs_links.py (5/5 pass)
  • python -I tests/test_docs_design_rows.py (2/2 pass)
  • python -I tests/test_docs_list_items.py (2/2 pass)
  • python -I tests/test_docs_repo_paths.py (2/2 pass)
  • Clean-room verification: documentation only, no game files or GPU.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants