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

Commit a712240b authored by Harry Cutts's avatar Harry Cutts
Browse files

input: add method to request specific pointer capture mode

Currently there are only two modes, UNCAPTURED and ABSOLUTE, which are
equivalent to the existing uncaptured and captured states respectively,
but this will allow us to add a new RELATIVE mode in upcoming changes.

Test: check that a test app can still request and release capture, and
      receives events as appropriate in each state
Test: $ atest CtsInputTestCases:android.input.cts.\
              {TouchpadAbsoluteCaptureModeTest,MouseCaptureTest}
Bug: 403531245
Flag: com.android.hardware.input.pointer_capture_modes
Change-Id: I39036091e9e338d9904f8c491b19af01ae069833
parent 980ed5e0
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