diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index cb4a7bd5ccfc9054b9b30353e36c43c469e472d4..cfa0c7034ddaacfdcfca27f44d15c773f4710c2f 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -7771,6 +7771,17 @@ declare interface BaseEvent { * @since 12 */ getModifierKeyState?(keys: Array): boolean; + + /** + * Indicates the ID of the input device that triggers the current event. + * + * @type { ?number } [deviceId] The ID of the input device that triggers the current event + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 12 + */ + deviceId?: number; } /**