docs: sync api and planning docs

This commit is contained in:
2026-04-08 16:07:03 +08:00
parent 08c3278e10
commit 31756847ab
1826 changed files with 44502 additions and 29645 deletions

View File

@@ -12,10 +12,11 @@ void ProcessKeyUp(KeyCode key, bool alt, bool ctrl, bool shift, bool meta);
- 如果未初始化或键索引越界,直接返回
-`m_keyDown[index]` 设为 `false`
-`m_keyUpThisFrame[index]` 设为 `true`
- 构造 `KeyEvent`,类型固定为 `KeyEvent::Up`
- 同步触发 `m_onKeyEvent`
当前没有单独的 “key up this frame” 标志位;抬起后,`IsKeyUp` 会立即通过 `!IsKeyDown(key)` 成立
因此这条路径既会让 [IsKeyUp](IsKeyUp.md) 立刻成立,也会为 [IsKeyReleased](IsKeyReleased.md) 写入本帧释放边沿
## 参数
@@ -33,4 +34,5 @@ void ProcessKeyUp(KeyCode key, bool alt, bool ctrl, bool shift, bool meta);
- [返回类型总览](InputManager.md)
- [ProcessKeyDown](ProcessKeyDown.md)
- [IsKeyReleased](IsKeyReleased.md)
- [OnKeyEvent](OnKeyEvent.md)