Lines Matching refs:translate
44 int code = 0, translate, direct = -1;
60 translate = TR_ASCII;
65 translate = TR_EVENT;
69 translate = TR_NONE;
73 translate = TR_UNTRANS_EVENT;
88 if (ioctl(kbd_fd, KIOCTRANS, (caddr_t) &translate))
105 int translate;
107 if (ioctl(kbd_fd, KIOCGTRANS, (caddr_t) &translate)) {
114 ( translate == 0 ? "n (non-translated bytes)" :
115 ( translate == 1 ? "a (ascii bytes)" :
116 ( translate == 2 ? "e (encoded events)" :
117 /* translate == 3 */ "u (unencoded events)"))));