summaryrefslogtreecommitdiff
path: root/services/inputflinger/reader/mapper/CursorInputMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/inputflinger/reader/mapper/CursorInputMapper.h')
-rw-r--r--services/inputflinger/reader/mapper/CursorInputMapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/inputflinger/reader/mapper/CursorInputMapper.h b/services/inputflinger/reader/mapper/CursorInputMapper.h
index 75aeffb846..60b3dd9ee0 100644
--- a/services/inputflinger/reader/mapper/CursorInputMapper.h
+++ b/services/inputflinger/reader/mapper/CursorInputMapper.h
@@ -111,6 +111,10 @@ private:
VelocityControl mWheelXVelocityControl;
VelocityControl mWheelYVelocityControl;
+ // The display that events generated by this mapper should target. This can be set to
+ // ADISPLAY_ID_NONE to target the focused display. If there is no display target (i.e.
+ // std::nullopt), all events will be ignored.
+ std::optional<int32_t> mDisplayId;
int32_t mOrientation;
std::shared_ptr<PointerControllerInterface> mPointerController;