Commit 0c75c354 authored by Tetsui Ohkubo's avatar Tetsui Ohkubo
Browse files

arc: gamepad: Expose gamepad device information

This CL
1. Updates gaming-input-unstable-v2.xml to the latest one. With the
   change, now Exo can forward device information (vendor ID, product
   ID, versison) from host to the container's wayland_service.
   The change was reviewed here: https://crrev.com/c/1602193
2. Adds GamepadDeviceInfoArgs to ArcInputBridgeProtocol, in order to
   forward the information from wayland_service to InputFlinger.

This is a part of the effort to improve ARC Gampad compatibility.
Design doc: go/arc-improved-gamepad

Expanding BridgeInputEvent more than 256 bytes seems not affecting the
performance. Benchmark result of sending 1000 mouse events:
before: median=2.97ms (80%=3.10ms, 90%=3.14ms, 95%=3.16ms, 99%=3.17ms)
after:  median=3.14ms (80%=3.24ms, 90%=3.27ms, 95%=3.29ms, 99%=3.30ms)

Test: manual
Bug: 130597086
Bug: 136110573
Change-Id: Iaec5868ac56d82050b4b833dc857b1c6dc0a60e8
(cherry picked from commit d4e34b1dd5e01d282e72118fe02b4f0912857718)
parent 5fd88ce0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment