We are changing the layout of top function row key, removing the "Browser Forward" button, moving several keys one position left, and inserting the Play/Pause button.
Because Chrome needs to be able to map from Fnn keys to the proper action keys and back, we need to know the layout of keyboard we are dealing with. ChromeOS will use UDEV to mark the keyboards with new top row layout with CROS_KEYBOARD_TOP_ROW_LAYOUT=2 property, and we will be looking for this property in the event rewriter code and select appropriate layout.
Change-Id: Id2be04ef85809b6bd7627d3b55ac6d3082f7b8c5 Reviewed-on: https://chromium-review.googlesource.com/571652
0bcc3cf Add support for new top row keyboard layout
.../chromeos/events/event_rewriter_unittest.cc | 167 ++++++++++++++++++++-
ui/chromeos/DEPS | 3 +-
ui/chromeos/events/BUILD.gn | 1 +
ui/chromeos/events/event_rewriter_chromeos.cc | 120 +++++++++++++--
ui/chromeos/events/event_rewriter_chromeos.h | 34 ++++-
5 files changed, 299 insertions(+), 26 deletions(-)