Skip to content

Commit 5f361a5

Browse files
author
DavidQ
committed
Add contextual input mapping for overlays.
PR Details: - Enables input behavior based on active overlay context - Integrates with existing input systems
1 parent 2f3b789 commit 5f361a5

7 files changed

Lines changed: 332 additions & 62 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ MODEL: GPT-5.4
22
REASONING: medium
33

44
COMMAND:
5-
Implement gesture support for overlay system:
6-
- Add gesture abstraction (tap, hold, swipe)
7-
- Map gestures to overlay actions
8-
- Maintain compatibility with existing input system
5+
Implement contextual input mapping:
6+
- Add context-aware input resolution
7+
- Use overlay stack and active layer
8+
- Integrate with existing gesture + keybind systems
9+
- Do not duplicate gesture logic
910
- Update roadmap status only

docs/dev/COMMIT_COMMENT.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Add gesture support to overlay system.
1+
Add contextual input mapping for overlays.
22

33
PR Details:
4-
- Introduces gesture abstraction layer
5-
- Maps gestures to overlay interactions
4+
- Enables input behavior based on active overlay context
5+
- Integrates with existing input systems
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
[ ] Tap gesture works
2-
[ ] Hold gesture works
3-
[ ] Swipe gesture works
4-
[ ] No regression in keyboard/mouse input
1+
[ ] Context switching updates input behavior
2+
[ ] No conflicts across overlays
3+
[ ] Gesture + keybind compatibility maintained
54
[ ] Roadmap updated

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@
636636
- [x] Level 21 overlay system baseline promoted after validation (context-aware behavior, synchronized state, event-driven updates, and performance optimization; no Level 17/19 overlay regressions)
637637
- [x] Level 21 advanced overlay interactions implemented (click/drag/resize) with gameplay-safe explicit interaction mode
638638
- [x] Level 22 gesture abstraction added for overlays (tap/hold/swipe mapped to runtime actions with explicit gameplay-safe gating)
639+
- [x] Level 22 contextual input mapping added (active overlay/layer stack-aware resolution across keybind and gesture actions)
639640

640641
### Sample Phase Tracks
641642
- [x] 3D phase normalized

docs/pr/BUILD_PR.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# BUILD_PR_LEVEL_22_2_OVERLAY_GESTURE_SUPPORT
1+
# BUILD_PR_LEVEL_22_3_OVERLAY_CONTEXTUAL_INPUT_MAPPING
22

33
## Purpose
4-
Extend overlay interaction system with gesture-based input support.
4+
Introduce context-aware input mapping for overlays based on runtime state.
55

66
## Roadmap Improvement
7-
Adds gesture layer on top of interaction system (Level 22).
7+
Advances Level 22 by aligning input behavior with active overlay context.
88

99
## Scope
10-
- Add gesture abstraction (tap, hold, swipe)
11-
- Map gestures to overlay actions
12-
- Ensure compatibility with keyboard/mouse input
10+
- Map inputs based on overlay stack/context
11+
- Support priority-based input resolution
12+
- Integrate with existing gesture and keybind systems
1313

1414
## Test Steps
15-
1. Perform tap/hold/swipe on overlays
16-
2. Validate correct mapping
17-
3. Ensure no regression in keyboard controls
15+
1. Activate different overlay contexts
16+
2. Verify input behavior changes correctly
17+
3. Ensure no cross-context leakage
1818

1919
## Expected
20-
- Gesture support operational
21-
- No input conflicts
20+
- Context-driven input behavior
21+
- Stable and predictable mapping

0 commit comments

Comments
 (0)