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

Commit 2d31d666 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Use a separate ScreenSize class in VirtualInputDeviceController

Before this CL, width and height of the screen were being passed
directly to the low-level function.

For some input device types, it is required to provide valid values for
these, while for others (like upcoming gamepad), it's not needed.

These values are now being put into a separate struct, so that the
calling code can be more explicit that it's providing it (or not).

Bug: 439992405
Test: atest InputTests
Flag: EXEMPT PURE_REFACTOR
Change-Id: Ided8b0789e9a400beb5362443618e727e7329bdc
parent ccee9a90
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