diff --git a/api/@ohos.multimodalInput.inputConsumer.d.ts b/api/@ohos.multimodalInput.inputConsumer.d.ts old mode 100644 new mode 100755 index 100ba90e03d44426bcdd5753fea580646f83357c..316d5cc330f65076faef38f731c4d8a043ad752b --- a/api/@ohos.multimodalInput.inputConsumer.d.ts +++ b/api/@ohos.multimodalInput.inputConsumer.d.ts @@ -19,8 +19,7 @@ import { AsyncCallback } from './basic'; * The event of key input management module is configured to subscribe and unsubscribe system keys. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @import import inputConsumer from '@ohos.multimodalInput.inputConsumer'; * @permission N/A */ @@ -29,7 +28,7 @@ declare namespace inputConsumer { /** * Defines event of key that user want to subscribe or unsubscribe. * - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @param preKeys The pre-keys that want to subscribe or unsubscribe. * @param finalKey The post position key that want to subscribe or unsubscribe. * @param isFinalKeyDown The final key press down or up. @@ -46,8 +45,7 @@ declare namespace inputConsumer { * Subscribe system keys. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @permission N/A * @param type type of the keyevent about input which is to be subscribed. * @param keyOption the key events about input which is to be subscribed. @@ -59,8 +57,7 @@ declare namespace inputConsumer { * Subscribe system keys. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @permission N/A * @param type type of the keyevent about input which is to be subscribed. * @param keyOption the key events about input which is to be subscribed. diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts old mode 100644 new mode 100755 index e4503013182f03a75e035be8bc3946861653ddfa..2ba1de6cec9e639346c2a5631fb90a40e0044339 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -19,8 +19,7 @@ import { AsyncCallback } from './basic'; * The input device management module is configured to obtain an ID and device information of an input device. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @import import inputDevice from '@ohos.multimodalInput.inputDevice'; * @permission N/A */ @@ -35,7 +34,7 @@ declare namespace inputDevice { * For example, a touchscreen may report information such as x, y, and pressure, * which indicate the x-axis coordinate, y-axis coordinate, and pressure, respectively. * - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @param source Input source type of the axis. For example, if a mouse reports an x-axis event, the source of the x-axis is the mouse. * @param axis Type of the axis. for example, the x-axis, y-axis, and pressure axis. * @param max Maximum value of the data reported on this axis. @@ -51,7 +50,7 @@ declare namespace inputDevice { /** * Defines the information about an input device. * - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @param name Name of the input device. * @param sources Source type supported by the input device. For example, if a keyboard is attached with a touchpad, the device has two input sources: keyboard and touchpad. */ @@ -66,8 +65,7 @@ declare namespace inputDevice { * Obtains the IDs of all input devices. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @permission N/A * @param callback callback function, receive reported data */ @@ -77,8 +75,7 @@ declare namespace inputDevice { * Obtain the information about an input device. * * @since 8 - * @sysCap SystemCapability.MultimodalInput.MULTIMODAL_INPUT - * @devices phone, tablet, tv, wearable + * @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT * @permission N/A * @param deviceId ID of the input device whose information is to be obtained. * @param callback callback function, receive reported data