aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2015-01-04 20:06:05 -0800
committerRuss Cox <rsc@google.com>2015-06-03 15:31:35 +0000
commitbab43f07d31d9fb5058704878fecd629c281af1f (patch)
tree993d4337009708b378d4dd94e91631878d5ea0c4 /include
parentfdf6ef333705c844bcf3ccf2f93b2773f1a6aa41 (diff)
downloadplan9port-bab43f07d31d9fb5058704878fecd629c281af1f.tar.gz
plan9port-bab43f07d31d9fb5058704878fecd629c281af1f.tar.bz2
plan9port-bab43f07d31d9fb5058704878fecd629c281af1f.zip
keyboard.h: add some missing key enums from Plan 9
Change-Id: I0d8b94037309b15f839588c6547acaaaf3e2ed4d Reviewed-on: https://plan9port-review.googlesource.com/1151 Reviewed-by: Russ Cox <rsc@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/keyboard.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/keyboard.h b/include/keyboard.h
index a3d02d0e..0fe077a2 100644
--- a/include/keyboard.h
+++ b/include/keyboard.h
@@ -33,7 +33,12 @@ enum {
Kalt= KF|0x15,
Kshift= KF|0x16,
Kctl= KF|0x17,
-
+
+ Kbs= 0x08,
+ Kdel= 0x7f,
+ Kesc= 0x1b,
+ Keof= 0x04,
+
Kcmd= 0xF100 /* Rune: beginning of Cmd+'a', Cmd+'A', etc on Mac */
};