feat(registry): checkpoint PLN-0176 foundations and validated partial integrations

This commit is contained in:
2026-10-07 17:49:46 +01:00
parent 01fab56cc6
commit 126a9e50e7
63 changed files with 8499 additions and 1462 deletions
+10 -6
View File
@@ -37,19 +37,19 @@ TOUCH is **absolute**:
```
TOUCH:
present : bool
down : bool
pressed : bool
released : bool
x : int
y : int
hold : Int64
x : Int64
y : Int64
```
### 3.2 Field Semantics
- **present**
- `true` if the TOUCH peripheral is available
- `false` if there is no physical touch (desktop, hardware without touch)
- **availability**
- is not a guest field or endpoint value
- a known query without a platform source raises `TRAP_UNAVAILABLE`
- **down**
- `true` while the active pointer is pressed
- **pressed**
@@ -169,3 +169,7 @@ Every PROMETEU game that uses TOUCH:
- behaves identically on all platforms
- does not depend on host-specific capabilities
- does not suffer semantic variation between desktop, mobile, and dedicated hardware
## Fixed query catalogue
Touch button queries occupy 0x2130–0x2133 (pressed/released/down/hold); x/y use 0x2134/0x2135. All have zero arguments and read the frame snapshot. Button states return Bool; hold and coordinates return Int64. See the [complete input contract](02c-program-registry-and-pbx-v1.md#input).