File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -421,9 +421,6 @@ static void OnDispatchTouchEventCB(OH_NativeXComponent *component, void *window)
421
421
}
422
422
// TODO
423
423
static void onNativeMouse (OH_NativeXComponent * component , void * window ) {}
424
- static void OnHoverEvent (OH_NativeXComponent * component , bool isHover ) {}
425
- static void OnFocusEvent (OH_NativeXComponent * component , void * window ) {}
426
- static void OnBlurEvent (OH_NativeXComponent * component , void * window ) {}
427
424
428
425
static napi_value SDL_OHOS_NAPI_Init (napi_env env , napi_value exports )
429
426
{
@@ -451,12 +448,9 @@ static napi_value SDL_OHOS_NAPI_Init(napi_env env, napi_value exports)
451
448
452
449
mouseCallback .DispatchMouseEvent = OnDispatchTouchEventCB ;
453
450
mouseCallback .DispatchMouseEvent = onNativeMouse ;
454
- mouseCallback .DispatchHoverEvent = OnHoverEvent ;
455
- OH_NativeXComponent_RegisterMouseEventCallback (nativeXComponent , & mouseCallback );
451
+ OH_NativeXComponent_RegisterMouseEventCallback (nativeXComponent , & mouseCallback );
456
452
457
453
OH_NativeXComponent_RegisterKeyEventCallback (nativeXComponent , onKeyEvent );
458
- OH_NativeXComponent_RegisterFocusEventCallback (nativeXComponent , OnFocusEvent );
459
- OH_NativeXComponent_RegisterBlurEventCallback (nativeXComponent , OnBlurEvent );
460
454
461
455
g_ohosPageMutex = SDL_CreateMutex ();
462
456
You can’t perform that action at this time.
0 commit comments