Fix CapsLock remapping.
commit5fdc45c765de00dd9143879864fa57c7d133e309
authorkpschoedel <kpschoedel@chromium.org>
Thu, 26 Feb 2015 16:12:21 +0000 (26 08:12 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 16:13:40 +0000 (26 16:13 +0000)
tree6cbc688fcf5e77fc1f202ce6f563b1c44ff22b8d
parente66a496041854c832b7de03184fe445ed3314613
Fix CapsLock remapping.

Emulates the ChromeOS/X11 method of using F16 and Mod3 to
represent the caps lock key before remapping.

BUG=461485
TEST=On device with external keyboard

Review URL: https://codereview.chromium.org/959923002

Cr-Commit-Position: refs/heads/master@{#318240}
ui/events/ozone/evdev/event_modifiers_evdev.cc
ui/events/ozone/evdev/event_modifiers_evdev.h
ui/events/ozone/evdev/keyboard_evdev.cc
ui/events/ozone/layout/layout_util.cc