diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-09-06 14:57:31 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-10 13:06:49 -0700 |
commit | 212dbaf52df693605b2066fbc8a198f1260b474e (patch) | |
tree | d2a428a5543d6a34a63a01bade03e17caa3e7ded /include/keyboard_scan.h | |
parent | 254a8336bf5c5a39b4611d193006b23a4158f478 (diff) | |
download | chrome-ec-212dbaf52df693605b2066fbc8a198f1260b474e.tar.gz |
Refactor runtime special key combination code
The code for warm reboot is overly specialized, and makes it hard to
add other key cominations for testing.
BUG=chrome-os-partner:13763
BRANCH=link
TEST=manual
1. boot system
2. hold down (in order) R+T+alt+VolUp. System does not reboot.
3. let go of T (so only R+alt+volup are pressed). System reboots.
Change-Id: I14cdb7f790e8a772712085a77eaf4299487788db
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/32439
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/keyboard_scan.h')
-rw-r--r-- | include/keyboard_scan.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h index 0fa526ee48..f92e8a3925 100644 --- a/include/keyboard_scan.h +++ b/include/keyboard_scan.h @@ -17,8 +17,6 @@ int keyboard_scan_init(void); enum boot_key { BOOT_KEY_NONE, /* No keys other than keyboard-controlled reset keys */ BOOT_KEY_ESC, - BOOT_KEY_D, - BOOT_KEY_F, BOOT_KEY_DOWN_ARROW, BOOT_KEY_OTHER = -1, /* None of the above */ }; |