diff --git a/services/ims/input_event_hub.cpp b/services/ims/input_event_hub.cpp old mode 100755 new mode 100644 index f96a03c244d0c1bb341abd7faf777e38a2e49fe1..d5af90b67a64ee863051bd59d944ef1c8733a595 --- 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) +void InputEventHub::EventCallback(const EventPackage **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 old mode 100755 new mode 100644 index e6d612a656c41427c1bc29871680d2d51bb294ca..8f05f8caf00fc3c7b7037692ba8259b77f60ca22 --- 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); + static void EventCallback(const EventPackage **pkgs, uint32_t count, uint32_t devIndex); uint8_t ScanInputDevice(); InputEventHub(); ~InputEventHub() {}