Home
last modified time | relevance | path

Searched refs:mouseHandle (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_module.cpp163 if (GetNamedPropertyInt32(env, mouseHandle, "button", button) != RET_OK) { in HandleMouseButton()
186 static void HandleMouseAction(napi_env env, napi_value mouseHandle, in HandleMouseAction() argument
190 if (GetNamedPropertyInt32(env, mouseHandle, "action", action) != RET_OK) { in HandleMouseAction()
219 HandleMouseButton(env, mouseHandle, pointerEvent); in HandleMouseAction()
223 static void HandleMousePropertyInt32(napi_env env, napi_value mouseHandle, in HandleMousePropertyInt32() argument
227 if (GetNamedPropertyInt32(env, mouseHandle, "screenX", screenX) != RET_OK) { in HandleMousePropertyInt32()
269 napi_value mouseHandle = nullptr; in InjectMouseEvent() local
271 if (mouseHandle == nullptr) { in InjectMouseEvent()
276 CHKRP(napi_typeof(env, mouseHandle, &tmpType), TYPEOF); in InjectMouseEvent()
286 HandleMouseAction(env, mouseHandle, pointerEvent, item); in InjectMouseEvent()
[all …]