未验证 提交 a11e3d33 编写于 作者: K king_he 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-inputdevice.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 405b2082
...@@ -19,7 +19,7 @@ import inputDevice from '@ohos.multimodalInput.inputDevice'; ...@@ -19,7 +19,7 @@ import inputDevice from '@ohos.multimodalInput.inputDevice';
on(type: “change”, listener: Callback&lt;DeviceListener&gt;): void on(type: “change”, listener: Callback&lt;DeviceListener&gt;): void
监听设备的热插拔事件。 监听输入设备的热插拔事件。
**系统能力**:SystemCapability.MultimodalInput.Input.InputDevice **系统能力**:SystemCapability.MultimodalInput.Input.InputDevice
...@@ -54,7 +54,7 @@ inputDevice.on("change", (data) => { ...@@ -54,7 +54,7 @@ inputDevice.on("change", (data) => {
off(type: “change”, listener?: Callback&lt;DeviceListener&gt;): void off(type: “change”, listener?: Callback&lt;DeviceListener&gt;): void
取消监听设备的热插拔事件。 取消监听输入设备的热插拔事件。
**系统能力**:SystemCapability.MultimodalInput.Input.InputDevice **系统能力**:SystemCapability.MultimodalInput.Input.InputDevice
...@@ -311,7 +311,7 @@ inputDevice.getKeyboardType().then((ret)=>{ ...@@ -311,7 +311,7 @@ inputDevice.getKeyboardType().then((ret)=>{
## AxisType<sup>9+</sup> ## AxisType<sup>9+</sup>
输入设备的轴类型 输入设备的轴类型
**系统能力**:以下各项对应的系统能力均为SystemCapability.MultimodalInput.Input.InputDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.MultimodalInput.Input.InputDevice
...@@ -329,7 +329,7 @@ inputDevice.getKeyboardType().then((ret)=>{ ...@@ -329,7 +329,7 @@ inputDevice.getKeyboardType().then((ret)=>{
## AxisRange ## AxisRange
输入设备的轴信息 输入设备的轴信息
**系统能力**: 以下各项对应的系统能力均为SystemCapability.MultimodalInput.Input.InputDevice **系统能力**: 以下各项对应的系统能力均为SystemCapability.MultimodalInput.Input.InputDevice
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册