From e16a5203aa932261fd58fef12c5b6f52962ccf6f Mon Sep 17 00:00:00 2001 From: guowen666 Date: Tue, 17 May 2022 13:36:51 +0000 Subject: [PATCH] Modify structure name Signed-off-by: guowen666 --- services/ims/input_event_hub.cpp | 2 +- services/ims/input_event_hub.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/ims/input_event_hub.cpp b/services/ims/input_event_hub.cpp index 780ecd4..725dc0a 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 76008e0..75287cf 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() {} -- Gitee