-
David Tseng authored
This change enables AccessibilityEventRewriter to only process key events from specific types of keyboard input devices. The new public method can be used by clients such as Switch Access to only consider key events from usb or bluetooth switches which show up as keyboard devices. Bug: none Test: ash_unittests --gtest_filter=Switch*.SetKeyboardInputTypes. Requires manual verification with switch devices. Change-Id: I7496b95cb380b9ddf301d7fa7bebb9748bdf40e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376035 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Anastasia Helfinstein <anastasi@google.com> Cr-Commit-Position: refs/heads/master@{#801794}
77c1a6d5