add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,25 +1,25 @@
# input
# 输入
> 将事件代码或触摸屏手势发送到 Android 设备。
> 此命令只能通过 `adb shell` 使用。
> 更多信息:<https://developer.android.com/reference/android/view/KeyEvent.html#constants_1>.
> 更多信息:<https://developer.android.com/reference/android/view/KeyEvent.html#constants_1>
- 将单个字符的事件代码发送到 Android 设备:
`input keyevent {{event_code}}`
- 将文本发送到 Android 设备(`%s` 代表空格):
- Android 设备发送文本`%s` 代表空格):
`input text "{{text}}"`
- 将轻触发送到 Android 设备:
- Android 设备发送单次点击
`input tap {{x_pos}} {{y_pos}}`
`input tap {{x_position}} {{y_position}}`
- 将滑动手势发送到 Android 设备:
- Android 设备发送滑动手势
`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}`
- 使用滑动手势将长按发送到 Android 设备:
- 使用滑动手势 Android 设备发送长按
`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duration_in_ms}}`
`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}`