diff options
| author | rsc <devnull@localhost> | 2003-09-30 19:05:50 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2003-09-30 19:05:50 +0000 |
| commit | 522b0689c340d26feeac360640bf7e2e0582353c (patch) | |
| tree | ba3a550c28684be3b3997899528a110c4e9cd91a /src/libdraw/keyboard.h | |
| parent | 2df2758496b2ab508d349208449f04d85ae2eb2c (diff) | |
| download | plan9port-522b0689c340d26feeac360640bf7e2e0582353c.tar.gz plan9port-522b0689c340d26feeac360640bf7e2e0582353c.zip | |
Reorg
Diffstat (limited to 'src/libdraw/keyboard.h')
| -rw-r--r-- | src/libdraw/keyboard.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/libdraw/keyboard.h b/src/libdraw/keyboard.h deleted file mode 100644 index a6d99bf6..00000000 --- a/src/libdraw/keyboard.h +++ /dev/null @@ -1,36 +0,0 @@ -typedef struct Keyboardctl Keyboardctl; - -struct Keyboardctl -{ - struct 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 */ - /* 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= 0x80, - Kview= 0x80, - Kpgdown= KF|0x13, - Kins= KF|0x14, - Kend= '\r', /* [sic] */ - - Kalt= KF|0x15, - Kshift= KF|0x16, - Kctl= KF|0x17, -}; |
