aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-08 02:00:22 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-08 02:00:22 +0100
commite76b195c598091c079fa42b1e08ed93baa4c40ad (patch)
tree67a0c039e71f26402e4fa1922ac39b85f11d2c59 /termkey.c
parent9f7d84ba814eedb19075c7c476ee60327a771eef (diff)
downloadtermo-e76b195c598091c079fa42b1e08ed93baa4c40ad.tar.gz
termo-e76b195c598091c079fa42b1e08ed93baa4c40ad.tar.xz
termo-e76b195c598091c079fa42b1e08ed93baa4c40ad.zip
Moved all of the keynames out from driver-csi into termkey; where they belong
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/termkey.c b/termkey.c
index 8750944..70a2b57 100644
--- a/termkey.c
+++ b/termkey.c
@@ -32,6 +32,37 @@ static struct {
{ TERMKEY_SYM_ESCAPE, "Escape" },
{ TERMKEY_SYM_SPACE, "Space" },
{ TERMKEY_SYM_DEL, "DEL" },
+ { TERMKEY_SYM_UP, "Up" },
+ { TERMKEY_SYM_DOWN, "Down" },
+ { TERMKEY_SYM_LEFT, "Left" },
+ { TERMKEY_SYM_RIGHT, "Right" },
+ { TERMKEY_SYM_BEGIN, "Begin" },
+ { TERMKEY_SYM_FIND, "Find" },
+ { TERMKEY_SYM_INSERT, "Insert" },
+ { TERMKEY_SYM_DELETE, "Delete" },
+ { TERMKEY_SYM_SELECT, "Select" },
+ { TERMKEY_SYM_PAGEUP, "PageUp" },
+ { TERMKEY_SYM_PAGEDOWN, "PageDown" },
+ { TERMKEY_SYM_HOME, "Home" },
+ { TERMKEY_SYM_END, "End" },
+ { TERMKEY_SYM_KP0, "KP0" },
+ { TERMKEY_SYM_KP1, "KP1" },
+ { TERMKEY_SYM_KP2, "KP2" },
+ { TERMKEY_SYM_KP3, "KP3" },
+ { TERMKEY_SYM_KP4, "KP4" },
+ { TERMKEY_SYM_KP5, "KP5" },
+ { TERMKEY_SYM_KP6, "KP6" },
+ { TERMKEY_SYM_KP7, "KP7" },
+ { TERMKEY_SYM_KP8, "KP8" },
+ { TERMKEY_SYM_KP9, "KP9" },
+ { TERMKEY_SYM_KPENTER, "KPEnter" },
+ { TERMKEY_SYM_KPPLUS, "KPPlus" },
+ { TERMKEY_SYM_KPMINUS, "KPMinus" },
+ { TERMKEY_SYM_KPMULT, "KPMult" },
+ { TERMKEY_SYM_KPDIV, "KPDiv" },
+ { TERMKEY_SYM_KPCOMMA, "KPComma" },
+ { TERMKEY_SYM_KPPERIOD, "KPPeriod" },
+ { TERMKEY_SYM_KPEQUALS, "KPEquals" },
{ 0, NULL },
};