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

Commit a3ddebdc 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: Ic2c2de7245369c2a6045faafffe1da592c506ec1
parents a85b087f 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.