Commit Graph

2 Commits

Author SHA1 Message Date
floatingstarZ
9bbf112dda 优化HDC文本输入:支持多行文本和简化接口
- 在hdc/input.py中实现多行文本支持,使用HarmonyOS keyEvent 2054处理换行
- 移除type_text函数的x/y坐标参数,简化接口
- 将多行文本处理逻辑从handler.py移至hdc/input.py,统一处理
- 优化parse_action函数,支持Type动作的text参数提取

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-16 19:54:59 +08:00
floatingstarZ
95f5921887 支持鸿蒙OSNEXT_HDC 2025-12-16 14:28:49 +08:00