feat(sdk): 通用长按事件 (agent-191, 用户定案) — MEOW_EV_LONG_PRESS 坐标式事件+meow_ui_set_long_press_cb/ms(opt-in,默认500ms,移动>12px取消,长按后抬手抑制TAP/SWIPE); 按钮按住视觉阈值同源; files 长按从App层迁入 SDK

meow_ui.a 4335c33a→6de89c27; hello→72fb20da; files→b1c4f58f
宿主 widgets(含6条长按断言)/p1p2p3/ime_fix/test_fsx 全 PASS; 未改 meow_ui_events 结构(防 -Wmissing-field-initializers 破坏既有App)
This commit is contained in:
MeowOS committed 2026-08-31 05:04:26 +08:00
1 parent 60072a08f1
commit e95552b949
14 files changed
+200 -35

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ int browser_on_tap(int x, int y); /* 1=已消费 */
void browser_swipe(int dir, int dist);
void browser_touch_down(int x, int y);
void browser_touch_move(int x, int y);
void browser_tick(uint64_t now);
void browser_on_long_press(int x, int y); /* SDK 通用长按(§6.3)→ 行 BottomSheet */
int browser_go_up(void); /* 1=回到上级;0=已在根(未动作) */
int browser_at_root(void);
void browser_reload(void);