commit | 1b48944e090dad989c025616870b1e82f1309efc | [log] [tgz] |
---|---|---|
author | Andres Oportus <andresoportus@google.com> | Fri May 17 20:04:00 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri May 17 20:04:00 2019 +0000 |
tree | b07bb185b87f398288b91ad819d22266e892b14f | |
parent | efe2cd12857b42eab49893fb9b623d6c6745d90c [diff] |
[hid][buttons] Add unit tests Also add DeviceGetMetadataSize to the fake_ddk and refactor/simplify. ZX-3814 #done Test: hid-buttons-test unit tests and trace buttons pressing on Astro via the hid uapp as in: $ hid read /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 3 hid read /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 3 hid: input thread started for /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 hid: /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 proto=0 hid: /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 num reports: 1 hid: /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 report ids... ID 0x01 : TYPE Input : SIZE 3 bytes hid: /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 maxreport=3 read returned 3 hid: input from /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 01 00 00 read returned 3 hid: input from /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 01 00 01 read returned 3 hid: input from /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 01 01 01 hid: closing /dev/sys/platform/00:00:13/hid-buttons/hid-device-000 $ Change-Id: I5ca9cc8decd222f2fe872ce291bc6b8e7ba0833e
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.