commit | 44c70b52fb5f8b3218b838bed1c94b46196e6c9c | [log] [tgz] |
---|---|---|
author | Mukesh Agrawal <quiche@fuchsia.infra.roller.google.com> | Wed Mar 29 19:46:11 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Mar 29 12:47:35 2023 -0700 |
tree | 80bdbbd4b832bac0e54e4f2fda0b11a02bbc1c9d | |
parent | e40f7bc0e65cd228bf9fa553745629301b8ada26 [diff] |
[roll] Roll fuchsia [starnix] implement InputFile::read() Complete the initial implementation of Starnix touch support: 1. Add code to translate from Fuchsia's touch events into UAPI input events. 2. Provide UAPI clients a way to read the ranges of the X and Y axes. 3. Implement `FileOps::read()`, so that UAPI clients can read the translated events. 4. Report support for the `BTN_TOOL_FINGER` button, which UAPI clients can recognize as indicating that one finger is in contact with the touch sensor. 5. Update the existing `query_events()` test: since the updated implementation of the reader thread filters out `EMPTY` events, the test needs to inject a non-empty event to cause `FileOps::query_events()` to return `POLLIN`. While there: add some advice on when to call `start_relay()`, which will help keep Scenic happy. Original-Bug: 123785 Test: fx test test_chromiumos_syscalls Test: fx test starnix-tests Test: manual (see below) Manual test ----------- 1. Booted Starnix in emulator. 2. Verified tapping and swiping work. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/823845 Original-Revision: 76fa04cfd67507fb1e8d30db9964495fe6af5522 GitOrigin-RevId: 78d84787fc7711c63dc551c27117da93cde0b75d Change-Id: I59e06b81dc118cc12c75740a9e8f202f5d68c939
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.