summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/keyboard.c
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2008-09-05 21:23:02 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-09-05 21:23:02 +0000
commitf044f282eafe7258c57d3e5b76e3704eb637422a (patch)
tree15ff0180f11feb2b7582063b28d66bf1f537b260 /payloads/libpayload/curses/keyboard.c
parentd9f29c8e5e3f37335a9b737361acc286df5248f0 (diff)
downloadcoreboot-f044f282eafe7258c57d3e5b76e3704eb637422a.tar.xz
Add editing keypad keys and the missing F11 key to the curses serial
input cooking table. Signed-off-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/curses/keyboard.c')
-rw-r--r--payloads/libpayload/curses/keyboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c
index ae3e1c5d70..83215966b7 100644
--- a/payloads/libpayload/curses/keyboard.c
+++ b/payloads/libpayload/curses/keyboard.c
@@ -73,6 +73,12 @@ static struct {
{ "[B", KEY_DOWN },
{ "[C", KEY_RIGHT },
{ "[D", KEY_LEFT },
+ { "[F", KEY_END },
+ { "[H", KEY_HOME },
+ { "[2~", KEY_IC },
+ { "[3~", KEY_DC },
+ { "[5~", KEY_PPAGE },
+ { "[6~", KEY_NPAGE },
{ "OP", KEY_F(1) },
{ "OQ", KEY_F(2) },
{ "OR", KEY_F(3) },
@@ -83,6 +89,7 @@ static struct {
{ "[19~", KEY_F(8) },
{ "[20~", KEY_F(9) },
{ "[21~", KEY_F(10) },
+ { "[23~", KEY_F(11) },
{ "[24~", KEY_F(12) },
{ NULL },
};