mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
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
26 lines
858 B
Plaintext
26 lines
858 B
Plaintext
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/**
|
|
* List of enabled tasks in the priority order
|
|
*
|
|
* The first one has the lowest priority.
|
|
*
|
|
* For each task, use the macro TASK(n, r, d) where :
|
|
* 'n' in the name of the task
|
|
* 'r' in the main routine of the task
|
|
* 'd' in an opaque parameter passed to the routine at startup
|
|
*/
|
|
#define CONFIG_TASK_LIST \
|
|
TASK(WATCHDOG, watchdog_task, NULL) \
|
|
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) \
|
|
TASK(I8042CMD, i8042_command_task, NULL)
|