ozone: evdev: Sync caps lock LED state to evdev
commitfc0faf53d30d331094b79fc77339184854169421
authorspang <spang@chromium.org>
Tue, 3 Mar 2015 20:35:38 +0000 (3 12:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Mar 2015 20:36:29 +0000 (3 20:36 +0000)
tree2b9dd5d61a0110b61e3d74df23b525db2ddfcc76
parent7d8d4236be805a692365cb96aa5e43396bc9d534
ozone: evdev: Sync caps lock LED state to evdev

Update LED state in kernel in InputControllerEvdev::SetCapsLockEnabled.
This is currently the only way to toggle caps lock.

BUG=463242
TEST=plug in external keyboard on link_freon & press caps lock. Light on
  keyboard should turn on.

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

Cr-Commit-Position: refs/heads/master@{#318934}
14 files changed:
ui/events/ozone/evdev/event_converter_evdev.cc
ui/events/ozone/evdev/event_converter_evdev.h
ui/events/ozone/evdev/event_converter_evdev_impl.cc
ui/events/ozone/evdev/event_converter_evdev_impl.h
ui/events/ozone/evdev/event_modifiers_evdev.cc
ui/events/ozone/evdev/input_controller_evdev.cc
ui/events/ozone/evdev/input_controller_evdev.h
ui/events/ozone/evdev/input_device_factory_evdev.cc
ui/events/ozone/evdev/input_device_factory_evdev.h
ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc
ui/events/ozone/evdev/input_device_factory_evdev_proxy.h
ui/events/ozone/evdev/keyboard_evdev.h
ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc
ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.h