acdream/tests/AcDream.App.Tests/UI/Layout/fixtures
Erik b4edee970f feat(ui): Campaign OP slice OP8 — Configure Keyboard
Ports retail's Configure Keyboard screen (gmKeyboardUI, LayoutDesc
0x21000009) — its own separate full-screen window, not a fifth Options-
panel tab. Retires OP3's INERT contract for the Gameplay tab's Configure
Keyboard button (0x10000204).

DAT reader (src/AcDream.Core/Input/RetailActionMap.cs): reads the
ActionMap singleton (DID 0x26000000, empirically the only one — not
0x27000000 as GetDBOType's Turbine-internal tag would suggest) and both
MasterInputMap defaults (0x14000000 "gmDefaultMap"/0x14000002
"DefaultMap"), union-merged per (InputMapId, ActionId) — proven order-
independent since the two maps' one shared context (0x5) has disjoint
action-id sets. Empirically resolved three lane-D unknowns against the
live DAT: the six ActionClass values (1=Movement, 2=Camera, 3=UI,
4=Combat, 5=Emote, 7=CharacterSettings — 6 is genuinely absent), that
the six unnamed InputMaps are 100% non-bindable (render nothing, not an
unlabeled group), and that the enum-to-DID pairing for the two master
maps is inconsequential to the merge result.

Identity table (src/AcDream.UI.Abstractions/Input/RetailActionIdentityTable.cs):
maps DAT (InputMapId, ActionId) pairs to acdream's InputAction where a
live consumer exists (~140 of 306 user-bindable rows — Movement/Camera/
Combat map almost completely; UI/Quickslot/Chat partially; only 5 of 87
Emotes and none of 48 CharacterSettings hotkeys, since acdream has no
general emote player or hotkey-to-option-toggle dispatcher yet). Every
entry cross-verified by label match AND a DAT-default-vs-
KeyBindings.RetailDefaults() byte comparison (RetailActionIdentityRoundTripTests),
which caught a real off-by-one in the Quickslot 13-18 block before it
shipped and found three genuine pre-existing RetailDefaults() gaps
(walk-mode's Shift-echoed chord, ten CameraAlternateControls arrow-key
alternates, and the Quickslot Ctrl+N use-vs-select ambiguity) — none
introduced by this slice, all documented rather than silently patched.

KeyboardConfigController: six ActionClass list boxes built from the
DAT, merged with live KeyBindings for mapped rows (rebind applies
immediately through the same InputDispatcher every other input path
uses) and a new sibling RetailUnmappedKeyBindings store for rows with
no InputAction yet. Left-click a key button opens real InputDispatcher
modal capture; right-click erases that slot. N-way conflict detection
scans every other row plus the live KeyBindings table for acdream-only
actions (Ctrl+M mute, debug F-keys) as the non-user-bindable refusal
analogue, using retail's own byte-verified "Could not overwrite "
string (table 0x23000004). OK/Cancel/Defaults/Revert reuse the
OptionPage/IOptionRow verb model via a new ActionKeyMapOptionRow.
Persistence is keybinds.json only (D4 — no .keymap file interchange).

Five register rows: AP-202 (.keymap interchange narrowing), AP-203
(store-only rows with no live consumer), AP-204 (silent auto-reassign
instead of retail's confirm dialog; OK/Cancel ported as left-click not
right-click-release).

Small supporting additions: UiButton.OnRightClick (additive, no
existing behavior changed), InputDispatcher.Bindings getter (the
screen's single live-truth read seam), RetailScanCodeMap (DIK scan
code <-> Silk.NET Key, keyboard + the one mouse-device row).

19 new tests (6 ActionMap reader conformance incl. live-DAT row-count/
label pins, 1 DAT-vs-RetailDefaults round-trip, 12 controller
behavior tests against the committed keyboard_config_21000009.json
fixture) — full solution suite 13,147 passed / 4 skipped / 0 failed
(baseline 13,128/4/0, zero regressions).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 09:19:54 +02:00
..
character_2100002E.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
character_info_2100006E_10000183.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
chat_2100006f.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
chat_floaty_2100005b.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
combat_21000073.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
component_category_21000033_10000466.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
component_row_21000033_10000467.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
dialogs_2100003C.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
effects_negative_2100001B.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
effects_positive_2100001B.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
effects_row_2100001B_10000128.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
examine_2100006B_100005F2.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
examine_component_2100006B_1000032E.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
examine_row_2100006B_10000166.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
indicators_21000071.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
inventory_21000023.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
keyboard_config_21000009.json feat(ui): Campaign OP slice OP8 — Configure Keyboard 2026-08-11 09:19:54 +02:00
link_status_2100001D.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
mini_game_2100001E.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_2100002B.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_character_21000028.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_chat_2100005C.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_config_21000029.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_gameplay_2100002A.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
options_panel_2100006E_1000018D.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
paperdoll_21000024.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
powerbar_21000072.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
radar_21000074.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
smartbox_fps_2100000F.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
spellbook_21000034.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
toolbar_21000016.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
vendor_21000012_100000B7.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
vitae_21000020.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00
vitals_2100006C.json feat(ui): Campaign OP slice OP5 — the Chat tab 2026-08-11 06:25:59 +02:00