feat(sdk): 中文拼音输入法落地 (agent-229, 设计稿 IME_PINYIN_DESIGN.md) — 静态表词库(403音节+329词,rodata ~20.5KB,零堆)+引擎(meow_pinyin.c,音节切分DFS+联想)+SDK集成(MEOW_IME_PINYIN尾部追加零ABI破坏,组合条+候选栏+翻页+中英切换,英文零回归)
meow_ui.a→a7a9043e; hello/files/ncm重链已部署; test_pinyin 5项全过+test_ime_fix零回归
This commit is contained in:
1 parent
f34818037f
commit
e9b6b690c1
16 files changed
+2261
-11
No files matched your search
@@ -244,4 +244,12 @@ void meow_ime_draw(void);
|
||||
/* 关闭 IME 并交付最终结果(result: 1=确认 0=取消)。 */
|
||||
void meow_ime_close(int result);
|
||||
|
||||
/* 拼音 IME 事件钩子(meow_ui_input.c 主循环 / meow_ui_ime.c 阻塞循环调用,IME 打开时):
|
||||
* 统一分发 TAP/TOUCH_DOWN/SWIPE/LONG_PRESS 给拼音模式(组合/候选栏翻页/长按清空)。
|
||||
* 非拼音(ASCII/NUM)模式:TAP 走 meow_ime_handle_tap,其余事件返回 0(沿用既有英文行为,零回归)。
|
||||
* 返回 1=已消费(调用方 continue),0=透传。 */
|
||||
int meow_ime_handle_event(const meow_input_ev *e);
|
||||
/* 当前 IME 是否拼音模式(供 meow_ui_input.c 决定是否喂长按轮询)。 */
|
||||
int meow_ime_mode_pinyin(void);
|
||||
|
||||
#endif /* MEOW_UI_INTERNAL_H */
|
||||
Reference in new issue
Block a user