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

Commit 37b66bd5 authored by Harry Cutts's avatar Harry Cutts
Browse files

input: add RELATIVE pointer capture mode

In RELATIVE mode, captured touchpads will behave in the same way as
captured mice, so that apps and games can support them without
additional effort.

Test: make a test app that captures the pointer in RELATIVE mode, and
      check from the InputDispatcher outbound event logs that movements
      on a captured touchpad result in the same format of events being
      sent as movements of a captured mouse. (b/418908873 currently
      prevents this from being verified from the app side.)
Test: $ atest --host inputflinger_tests
Bug: 403531245
Flag: com.android.hardware.input.pointer_capture_modes

Change-Id: Ifa0d045b7db9a04dd116e1a93b9ec08d5494e5b5
parent a75c28e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment