ozone: evdev: Add enable_repeat flag to key events
This adds an enable_repeat flag to key events that enables local key
repeat. The flag is true for keyboard devices and false for keys
injected by the remoting host.
This also changes the semantics of consecutive keypresses for the same
key. Previously they were completely ignored, now they are considered
repeats. This is used by the remoting host to implement remote repeat.
The remoting host no longer uses the input controller to change the
global key repeat setting; it's now set exclusively from prefs.
BUG=496420
TEST=visit rbyers.github.io/eventTest.html
via it2me from chromebook to chromebook
key repeat works normally
Review URL: https://codereview.chromium.org/
1166113003
Cr-Commit-Position: refs/heads/master@{#333349}