diff --git a/services/ims/input_event_hub.cpp b/services/ims/input_event_hub.cpp index 780ecd47f30a4fdb6d27544952335f116757b329..725dc0ad1b6d2328b57ed72b40f3c3528274c432 100644 --- a/services/ims/input_event_hub.cpp +++ b/services/ims/input_event_hub.cpp @@ -118,7 +118,7 @@ void InputEventHub::TearDown() } } -void InputEventHub::EventCallback(const EventPackage **pkgs, uint32_t count, uint32_t devIndex) +void InputEventHub::EventCallback(const InputEventPackage **pkgs, uint32_t count, uint32_t devIndex) { if (pkgs == nullptr || readCallback_ == nullptr || count == 0) { return; diff --git a/services/ims/input_event_hub.h b/services/ims/input_event_hub.h index 76008e0df432c5d5883129b3a7c57055c659a8a6..75287cfb70a36dbbbf8d530967d731a5c5800b4b 100644 --- a/services/ims/input_event_hub.h +++ b/services/ims/input_event_hub.h @@ -61,7 +61,7 @@ public: private: static InputDevType GetDeviceType(uint32_t devIndex); - static void EventCallback(const EventPackage **pkgs, uint32_t count, uint32_t devIndex); + static void EventCallback(const InputEventPackage **pkgs, uint32_t count, uint32_t devIndex); uint8_t ScanInputDevice(); InputEventHub(); ~InputEventHub() {}