summaryrefslogtreecommitdiff
path: root/include/input/InputDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/input/InputDevice.h')
-rw-r--r--include/input/InputDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/input/InputDevice.h b/include/input/InputDevice.h
index 1a40fdb90c..ffb2cb1fc1 100644
--- a/include/input/InputDevice.h
+++ b/include/input/InputDevice.h
@@ -68,6 +68,9 @@ struct InputDeviceIdentifier {
* while conforming to the filename limitations.
*/
std::string getCanonicalName() const;
+
+ bool operator==(const InputDeviceIdentifier&) const = default;
+ bool operator!=(const InputDeviceIdentifier&) const = default;
};
/* Types of input device sensors. Keep sync with core/java/android/hardware/Sensor.java */