3 #if defined(__cplusplus)
6 typedef struct Keyboardctl Keyboardctl;
10 struct Channel *c; /* chan(Rune)[20] */
13 int consfd; /* to cons file */
14 int ctlfd; /* to ctl file */
15 int pid; /* of slave proc */
19 extern Keyboardctl* initkeyboard(char*);
20 extern int ctlkeyboard(Keyboardctl*, char*);
21 extern void closekeyboard(Keyboardctl*);
24 KF= 0xF000, /* Rune: beginning of private Unicode space */
25 /* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */
36 Kend= '\r', /* [sic] */
43 #if defined(__cplusplus)