summaryrefslogtreecommitdiff
path: root/libs/input/PointerControllerContext.h
diff options
context:
space:
mode:
author Seunghwan Choi <sbee.choi@samsung.corp-partner.google.com> 2023-01-13 21:12:59 +0900
committer Prabir Pradhan <prabirmsp@google.com> 2023-02-02 11:22:57 +0000
commit670b33dd9068490e5a177ffa999639e774453b9e (patch)
tree91ad2b55a3c5ce94b5d28baefb5d8935b4aeee3f /libs/input/PointerControllerContext.h
parent3d0d262b93da10d6e01f5d3b277ace83aad4c2f6 (diff)
Separate default pointer for mouse and stylus (frameworks/base part)
PointerIcon.TYPE_NOT_SPECIFIED will be used for requesting default pointer. For the type, MouseCursorController will decide whether to show mouse or stylus icon, based on the active source. Need complement: the resource for default stylus icon should be added. Test: Manual Test(hover pointer on handwriting area) Bug: b/215436642 Change-Id: I6a337cb69bea57427f676e561900802270d206ae
Diffstat (limited to 'libs/input/PointerControllerContext.h')
-rw-r--r--libs/input/PointerControllerContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/input/PointerControllerContext.h b/libs/input/PointerControllerContext.h
index 1797428b343f..96d83a5f0d15 100644
--- a/libs/input/PointerControllerContext.h
+++ b/libs/input/PointerControllerContext.h
@@ -79,6 +79,7 @@ public:
std::map<PointerIconStyle, PointerAnimation>* outAnimationResources,
int32_t displayId) = 0;
virtual PointerIconStyle getDefaultPointerIconId() = 0;
+ virtual PointerIconStyle getDefaultStylusIconId() = 0;
virtual PointerIconStyle getCustomPointerIconId() = 0;
virtual void onPointerDisplayIdChanged(int32_t displayId, float xPos, float yPos) = 0;
};