summaryrefslogtreecommitdiff
path: root/services/inputflinger/reader/controller/PeripheralControllerInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/inputflinger/reader/controller/PeripheralControllerInterface.h')
-rw-r--r--services/inputflinger/reader/controller/PeripheralControllerInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/inputflinger/reader/controller/PeripheralControllerInterface.h b/services/inputflinger/reader/controller/PeripheralControllerInterface.h
index 7688a431d1..306e36119b 100644
--- a/services/inputflinger/reader/controller/PeripheralControllerInterface.h
+++ b/services/inputflinger/reader/controller/PeripheralControllerInterface.h
@@ -33,6 +33,8 @@ public:
PeripheralControllerInterface() {}
virtual ~PeripheralControllerInterface() {}
+ virtual int32_t getEventHubId() const = 0;
+
// Interface methods for Battery
virtual std::optional<int32_t> getBatteryCapacity(int32_t batteryId) = 0;
virtual std::optional<int32_t> getBatteryStatus(int32_t batteryId) = 0;