docs(input): README fixups — spec link + lib-centric changelog (P.3.10 follow-up)
Code-quality-review-follow-up for commit 837dc3c:
- Add Spec v0.4.0 entry to header spec-link list (was missing).
- Rephrase v0.4.0 changelog to drop Selection-Lib reference;
lib-core.input changelog should describe its own surface, not
cross-lib consumer workarounds.
This commit is contained in:
@@ -6,6 +6,7 @@ Direction-vector helper composes 4 actions into `{x, y}` ∈ {-1, 0, +1}².
|
|||||||
|
|
||||||
- Lib-ID: `lib-core.input`
|
- Lib-ID: `lib-core.input`
|
||||||
- Version: `0.4.0`
|
- Version: `0.4.0`
|
||||||
|
- Spec v0.4.0 (P.3.10): `meta/docs/superpowers/specs/2026-05-15-p3-housekeeping-design.md`
|
||||||
- Spec v0.3.0 (P.3.3): `meta/docs/superpowers/specs/2026-05-12-p3-3-mouse-input-design.md`
|
- Spec v0.3.0 (P.3.3): `meta/docs/superpowers/specs/2026-05-12-p3-3-mouse-input-design.md`
|
||||||
- Spec v0.2.0 (P.2.6): `meta/docs/superpowers/specs/2026-05-11-engine-input-symbolic-keys-design.md`
|
- Spec v0.2.0 (P.2.6): `meta/docs/superpowers/specs/2026-05-11-engine-input-symbolic-keys-design.md`
|
||||||
- Spec v0.1.0 (P.0): `meta/docs/superpowers/specs/2026-05-09-p0-lib-input-design.md`
|
- Spec v0.1.0 (P.0): `meta/docs/superpowers/specs/2026-05-09-p0-lib-input-design.md`
|
||||||
@@ -81,7 +82,7 @@ end
|
|||||||
|
|
||||||
## v0.4.0 (P.3.10, 2026-05-15)
|
## v0.4.0 (P.3.10, 2026-05-15)
|
||||||
- Added `was_action_released(action_name)` — release-edge detection per action.
|
- Added `was_action_released(action_name)` — release-edge detection per action.
|
||||||
Selection-Lib's `prev_click_down` workaround promoted.
|
Consumers can now detect key-up edges without per-frame state tracking.
|
||||||
- Engine surface: `engine.input.was_released` + `was_mouse_released`.
|
- Engine surface: `engine.input.was_released` + `was_mouse_released`.
|
||||||
|
|
||||||
## v0.3.0 (P.3.3, 2026-05-12)
|
## v0.3.0 (P.3.3, 2026-05-12)
|
||||||
|
|||||||
Reference in New Issue
Block a user