rimlike/scenes/ui
megaproxy 0b2e0fcd03 PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect
Adds full PC keyboard+mouse support on top of existing touch controls. Touch
paths untouched. All input goes through named actions in project.godot.

Bindings:
- WASD / arrows: camera pan (speed scales with zoom)
- = / -: keyboard zoom in/out
- C / Home: center on selected pawn
- Tab / Shift+Tab: cycle through pawns (pans camera to selection)
- B / L / P / ,: toggle BuildDrawer / AlertsLog / WorkPriorityMatrix / Settings
- Escape: cancel active designation tool > close topmost panel > deselect pawn
- Right-click: cancel active tool or deselect pawn (RTS convention)
- F: speed_cycle (action restored; handler still TODO)
- pawn_prev action removed; Shift+Tab read via event.shift_pressed inline

Escape priority enforced by Designation._input running before _unhandled_input
plus each panel consuming its own cancel action when visible.

Also fixes a pre-existing pre-Phase-17 bug: WorkPriorityMatrix, AlertsLog,
StorytellerModal, LoadMenu, and SettingsMenu had MOUSE_FILTER_STOP Controls
(Backdrop / Dim) that remained input-active when the panel was "closed" —
their open/close paths only toggled _root.visible / _panel.visible, never
CanvasLayer.visible. World mouse events (right-click deselect, left-click
pawn-select) were silently eaten. Now each _set_visible / open / close
toggles self.visible (the CanvasLayer) so input dispatch shuts off properly.

Verified end-to-end via MCP runtime: WASD pan, zoom keys, Tab+Shift+Tab
cycle, B-open + Escape-close, right-click deselect, left-click pawn-select
all working in sequence with no input bleed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:06:38 +01:00
..
.gitkeep Phase 0 scaffold + asset audit findings 2026-05-10 20:09:11 +01:00
alerts_log.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
alerts_log.gd.uid Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
build_drawer.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
build_drawer.gd.uid Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
load_menu.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
load_menu.gd.uid Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
pawn_detail_panel.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
pawn_detail_panel.gd.uid Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
resume_toast.gd Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
resume_toast.gd.uid Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
settings_menu.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
settings_menu.gd.uid Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
storyteller_banner.gd Phase 15: Storyteller (25 events, daily roll, banner+modal UI) 2026-05-11 19:01:35 +01:00
storyteller_banner.gd.uid Phase 15: Storyteller (25 events, daily roll, banner+modal UI) 2026-05-11 19:01:35 +01:00
storyteller_modal.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
storyteller_modal.gd.uid Phase 15: Storyteller (25 events, daily roll, banner+modal UI) 2026-05-11 19:01:35 +01:00
top_bar.gd Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00
top_bar.gd.uid Phase 1 — 80² world, 6-layer TileMap, camera rig, tick loop, speed UI 2026-05-10 20:37:02 +01:00
top_bar.tscn Phase 16: Save/load full coverage + autosave + UI 2026-05-11 19:24:59 +01:00
work_priority_matrix.gd PC controls: keyboard pan/zoom, Tab cycle, Escape stack, right-click deselect 2026-05-12 12:06:38 +01:00
work_priority_matrix.gd.uid Phase 17: Touch UX (PawnDetail+BuildDrawer+WorkMatrix+AlertsLog+Settings) 2026-05-11 19:45:35 +01:00