diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-11-23 01:05:33 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-11-23 01:05:33 +0100 |
commit | 2f9ae0f8ac8610e13ced184847b57b87fe5db580 (patch) | |
tree | f9ad2223d518585a2cfe9ea1c73e1e37d07bf637 /sys/src/cmd/unix/drawterm/include/keyboard.h | |
parent | ea5797c0731203c09ec5fb7172e77eab2750f1a9 (diff) |
removing (outdated) drawterm
drawterm is much better maintained by russ cox,
so removing this outdated copy.
for a more recent version, go to:
http://swtch.com/drawterm/
Diffstat (limited to 'sys/src/cmd/unix/drawterm/include/keyboard.h')
-rw-r--r-- | sys/src/cmd/unix/drawterm/include/keyboard.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sys/src/cmd/unix/drawterm/include/keyboard.h b/sys/src/cmd/unix/drawterm/include/keyboard.h deleted file mode 100644 index d5d89ab00..000000000 --- a/sys/src/cmd/unix/drawterm/include/keyboard.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifdef PLAN9 -#pragma src "/sys/src/libdraw" -#pragma lib "libdraw.a" -#endif - -typedef struct Keyboardctl Keyboardctl; -typedef struct Channel Channel; - -struct Keyboardctl -{ - Channel *c; /* chan(Rune)[20] */ - - char *file; - int consfd; /* to cons file */ - int ctlfd; /* to ctl file */ - int pid; /* of slave proc */ -}; - - -extern Keyboardctl* initkeyboard(char*); -extern int ctlkeyboard(Keyboardctl*, char*); -extern void closekeyboard(Keyboardctl*); - -enum { - KF= 0xF000, /* Rune: beginning of private Unicode space */ - Spec= 0xF800, - /* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */ - Khome= KF|0x0D, - Kup= KF|0x0E, - Kpgup= KF|0x0F, - Kprint= KF|0x10, - Kleft= KF|0x11, - Kright= KF|0x12, - Kdown= Spec|0x00, - Kview= Spec|0x00, - Kpgdown= KF|0x13, - Kins= KF|0x14, - Kend= KF|0x18, - - Kalt= KF|0x15, - Kshift= KF|0x16, - Kctl= KF|0x17, -}; - |