summaryrefslogtreecommitdiff
path: root/include/keyboard_scan.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-03-20 13:47:35 -0700
committerChromeBot <chrome-bot@google.com>2013-03-22 11:24:28 -0700
commit743c05f01f8f2b19dbf565bee645076fff75c42d (patch)
treecbad9ab036c32b3b4d47ad2ad4ded17f18fb02b6 /include/keyboard_scan.h
parentcdb08e12217367f0ac8c6ce0dc1df2e27f80563e (diff)
downloadchrome-ec-743c05f01f8f2b19dbf565bee645076fff75c42d.tar.gz
Add keyboard_raw interface
This is the low-level platform-dependent interface to drive keyboard columns, read rows, and handle keyboard interrupts. Both lm4 and stm32 had something like this before, but the interfaces weren't fully explicit or compatible. BUG=chrome-os-partner:18360 BRANCH=none TEST=manual - Build all platforms. - Boot system and test typing on keyboard. - Hold power+refresh+esc to test boot key detection; should go to recovery. Change-Id: Ie3bcc1d066a4da5204f0e236daeb52c4064a6213 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/46156
Diffstat (limited to 'include/keyboard_scan.h')
-rw-r--r--include/keyboard_scan.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h
index 54e7259c21..e0f883375a 100644
--- a/include/keyboard_scan.h
+++ b/include/keyboard_scan.h
@@ -9,7 +9,6 @@
#define __CROS_EC_KEYBOARD_SCAN_H
#include "common.h"
-#include "gpio.h"
/**
* Initializes the module.
@@ -52,15 +51,4 @@ void keyboard_enable_scanning(int enable);
*/
void keyboard_send_battery_key(void);
-#ifdef CONFIG_TASK_KEYSCAN
-
-/**
- * Keyboard scan GPIO interrupt.
- */
-void keyboard_scan_interrupt(enum gpio_signal signal);
-
-#else
-#define keyboard_scan_interrupt NULL
-#endif
-
#endif /* __CROS_EC_KEYBOARD_SCAN_H */