Chrome OS: Update event rewriter for Drallion keyboard layout
The Drallion (Wilco 1.5) keyboard has a slightly different layout than Wilco 1.0: 1. The toggle mirror mode button has moved from F12 to its own key without a corresponding F key. 2. F12 now shares a key with privacy screen toggle on devices with a privacy screen. BUG=b:147241224 TEST=build and deploy chrome to a Drallion DUT: autoninja -C out_drallion/Release chrome chrome_sandbox nacl_helper; deploy_chrome --build-dir=out_drallion/Release --to={DUT_IP}; Verify that top row keys map to expected key codes: Privacy Screen -> VKEY_PRIVACY_SCREEN_TOGGLE Privacy Screen + Fn -> VKEY_F12 Privacy Screen + Search -> VKEY_F12 Privacy Screen + Fn + Search -> VKEY_PRIVACY_SCREEN_TOGGLE Mirror toggle key always maps to VKEY_MEDIA_LAUNCH_APP2 with Control held down, regardless of Fn and Search key states. Change-Id: I8df3d28d7ea9445d736ec831b4423f2c224dd592 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008063 Commit-Queue: Mike Wiitala <mwiitala@google.com> Reviewed-by:Kevin Schoedel <kpschoedel@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#734219}
Showing
This diff is collapsed.
Please register or sign in to comment