From c82af0d13cfe8ed89d2ee5e77fbd89d3909578bd Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 29 Jul 2022 17:13:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuwei --- runtime/main/extend/systemplugin/napi/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/main/extend/systemplugin/napi/index.js b/runtime/main/extend/systemplugin/napi/index.js index 0988745c..1facc81f 100644 --- a/runtime/main/extend/systemplugin/napi/index.js +++ b/runtime/main/extend/systemplugin/napi/index.js @@ -163,6 +163,7 @@ import { mockWindow } from './ohos_window' import { mockAppAccount } from './ohos_account_appAccount' import { mockOhosGeolocation } from './ohos_geolocation' import { mockInputMonitor } from './ohos_multimodalInput_inputMonitor' +import { mockPointer } from './ohos_multimodalInput_pointer' import { mockOsAccount } from './ohos_account_osAccount' import { mockReminderAgent } from './ohos_reminderAgent' import { mockSystemTime } from './ohos_systemTime' @@ -431,6 +432,8 @@ export function mockRequireNapiFun() { return mockDataAbility(); case "multimodalInput.inputDevice": return mockInputDevice(); + case "multimodalInput.pointer": + return mockPointer(); case "vibrator": return mockVibrator(); case "sensor":