Nami: Support UK2 keyboard
This patch swaps the forwardslash-pipe key (scancode=0x56) with the
right control key (scancode=0xe014) if UK2 bit in SKU ID is enabled.
evtest produces:
type 1 (EV_KEY), code 86 (KEY_102ND), value 1
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b:117827249
BRANCH=none
TEST=Verify forwardslash key produces keycode=0x1d on Syndra with UK2.
TEST=Verify '\' and '|' are printed on OS (with input method = UK).
TEST=Run emerge-nami chromeos-ec
Change-Id: Ibbaeccd12cfc09d913ecfe1172218297c3d7341a
Reviewed-on: https://chromium-review.googlesource.com/1366307
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
2 files changed