diff options
| author | 2021-06-15 21:50:38 +0000 | |
|---|---|---|
| committer | 2021-06-15 21:50:38 +0000 | |
| commit | 9473f5563afd11e0d202b4bff7f4beb53008dd1e (patch) | |
| tree | cdea1be57f466ebf2fd2dad825bde1e2ef2e0a98 /include/input/InputDevice.h | |
| parent | c71ee4b1418fd1d4b401755a77acfe6641cc6dad (diff) | |
| parent | 5d552c4b7fffb63d9bc4c26ca222d43bb57b359d (diff) | |
Merge "Use the injected device id for events that are a11y trusted" into sc-dev
Diffstat (limited to 'include/input/InputDevice.h')
| -rw-r--r-- | include/input/InputDevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/InputDevice.h b/include/input/InputDevice.h index 7f0324a4a8..1955104a22 100644 --- a/include/input/InputDevice.h +++ b/include/input/InputDevice.h @@ -318,6 +318,8 @@ extern std::string getInputDeviceConfigurationFilePathByName( const std::string& name, InputDeviceConfigurationFileType type); enum ReservedInputDeviceId : int32_t { + // Device id assigned to input events generated inside accessibility service + ACCESSIBILITY_DEVICE_ID = -2, // Device id of a special "virtual" keyboard that is always present. VIRTUAL_KEYBOARD_ID = -1, // Device id of the "built-in" keyboard if there is one. |