summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2012-04-03 13:13:38 +0800
committerLouis Yung-Chieh Lo <yjlou@chromium.org>2012-04-17 17:09:46 +0800
commit12753d10f2bd7b9cfe6077db46f925ece335bcc7 (patch)
treecfd7f990c82bb28a9a6f88c2bcee85fb31ebd337 /board/bds
parentf3301b4944e322afe48cb271ed5d47256e110072 (diff)
downloadchrome-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/bds')
-rw-r--r--board/bds/ec.tasklist1
1 files changed, 1 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) \