8 Commits

Author SHA1 Message Date
Axel Meyer
9a82df480e chore: add Tier-1 LICENSE file
Adds the proprietary all-rights-reserved license that applies to this
library. The text is identical to the engine LICENSE — this lib is
Tier-1 official platform content, distributed under the same terms.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 18:04:27 +02:00
Axel Meyer
0b2d70f43b docs: switch Badges-Table to bold key:value list + add ## Topology H2 (S2 iter)
User-feedback iteration on S2 PoC template:
- Replace Markdown Badges-Table with bold key:value list (trailing-spaces
  line-breaks).
- Add ## Topology H2 heading directly above the topology-block marker.

Verified: --lint --fix exits with 0 structural-warnings (remaining
stale_docs warnings are sugar-form caveat, pre-existing concern, not
template-related). Idempotent: hash unchanged on re-run.
2026-05-16 15:26:43 +02:00
Axel Meyer
8f4128ee34 docs: migrate README to API-Doc-Convention (S2 Phase 3)
Restructured per spec section 3.2: Abstract + Badges-Table + Topology-Block
+ 7 H3-API-Subsections + Conventions + Consumer pattern + Migration +
CHANGELOG + References. Topology-Block auto-populated via
Sporel.exe --lint --fix. Pre-commit hook installed via --install-hooks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 14:17:44 +02:00
Axel Meyer
26a38c74e2 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.
2026-05-15 21:29:44 +02:00
Axel Meyer
837dc3cbc7 feat(input): v0.4.0 — was_action_released release-edge (P.3.10)
Additive, backward-compatible. Mirrors was_action_pressed dispatch
pattern. Selection-Lib's prev_click_down workaround now obsolete.
Engine bindings (was_released + was_mouse_released) added in
sporel-engine commit covering P.3.10 Task 1.

Removes was_released-edge entry from DEPRECATED-MVP list.
2026-05-15 21:26:24 +02:00
Axel Meyer
086c51ee28 feat(P.3.3): v0.3.0 — unified BIND_MAP, mouse-button binding support 2026-05-12 02:25:09 +02:00
Axel Meyer
2fabefbf8e feat(P.2.6): v0.2.0 string-keys API (BREAKING)
bind() accepts lowercase string-keys only. Integer engine.input.KEY_*
args are rejected. Internal KEY_MAP translates strings to keycodes.

Coverage: 26 letters (a-z), 10 numbers ('0'-'9'), 4 arrows (left/
right/up/down), 5 whitespace+control (space/tab/enter/backspace/
escape), 3 modifiers (shift/ctrl/alt with l-prefix aliases for
explicit left-side), and '^' (console-toggle, DE-keyboard
Zirkumflex / US-keyboard backtick).

Right-modifier-aliases (rshift/rctrl/ralt) + function-keys + special-
keys forthcoming when engine.input exposes the corresponding KEY_*
constants.

Atomic-bind: invalid key fails entire bind without partial state
mutation. Loud Lua-errors on misuse with hint to README.

Adressiert audit-I3 (engine-internal-namespace leak).
Spec: meta/docs/superpowers/specs/2026-05-11-engine-input-symbolic-keys-design.md
2026-05-11 02:11:39 +02:00
Axel Meyer
bf3dda0ace feat: P.0.lib.input action-mapping + direction-vector helper 2026-05-09 23:22:25 +02:00