diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2012-04-03 13:13:38 +0800 |
---|---|---|
committer | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2012-04-17 17:09:46 +0800 |
commit | 12753d10f2bd7b9cfe6077db46f925ece335bcc7 (patch) | |
tree | cfd7f990c82bb28a9a6f88c2bcee85fb31ebd337 /board | |
parent | f3301b4944e322afe48cb271ed5d47256e110072 (diff) | |
download | chrome-ec-12753d10f2bd7b9cfe6077db46f925ece335bcc7.tar.gz |
Support keyboard typematic.
Mainly add a typematic task that counts down the delay. Set the initial delay
in the keyboard_state_changed() when key pressed and clean it when released.
BUS=chrome-os-partner:8463
TEST=press on a particular key and screen shows that key is repeating.
Change-Id: Ic8432f8b38b514476588e0b7ad8fdc8a0b0c0b51
Diffstat (limited to 'board')
-rw-r--r-- | board/bds/ec.tasklist | 1 | ||||
-rw-r--r-- | board/link/ec.tasklist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/bds/ec.tasklist b/board/bds/ec.tasklist index 744ad19633..cda33f352a 100644 --- a/board/bds/ec.tasklist +++ b/board/bds/ec.tasklist @@ -18,6 +18,7 @@ TASK(LIGHTBAR, lightbar_task, NULL) \ TASK(PWM, pwm_task, NULL) \ TASK(KEYSCAN, keyboard_scan_task, NULL) \ + TASK(TYPEMATIC, keyboard_typematic_task, NULL) \ TASK(POWERBTN, power_button_task, NULL) \ TASK(CONSOLE, console_task, NULL) \ TASK(HOSTCMD, host_command_task, NULL) \ diff --git a/board/link/ec.tasklist b/board/link/ec.tasklist index 091dc42388..006d69cb2a 100644 --- a/board/link/ec.tasklist +++ b/board/link/ec.tasklist @@ -20,6 +20,7 @@ TASK(THERMAL, thermal_task, NULL) \ TASK(PWM, pwm_task, NULL) \ TASK(KEYSCAN, keyboard_scan_task, NULL) \ + TASK(TYPEMATIC, keyboard_typematic_task, NULL) \ TASK(POWERBTN, power_button_task, NULL) \ TASK(X86POWER, x86_power_task, NULL) \ TASK(CONSOLE, console_task, NULL) \ |