Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71063b1b authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Automerger Merge Worker
Browse files

CursorInputMapper: Populate axes in navigation mode am: f5334b8e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14530413

Change-Id: I812ec31ce001e9477e925a4ed44f3c5bb78d8a7b
parents 1b3ab5e4 f5334b8e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -365,8 +365,8 @@ void CursorInputMapper::sync(nsecs_t when, nsecs_t readTime) {
        pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX);
        pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY);
        displayId = mPointerController->getDisplayId();
    } else if (mSource == AINPUT_SOURCE_MOUSE_RELATIVE) {
        // Pointer capture mode
    } else {
        // Pointer capture and navigation modes
        pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX);
        pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY);
        pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX);
+106 −105

File changed.

Preview size limit exceeded, changes collapsed.