Lines Matching defs:translate
77 int code = 0, translate, direct = -1;
93 translate = TR_ASCII;
98 translate = TR_EVENT;
102 translate = TR_NONE;
106 translate = TR_UNTRANS_EVENT;
121 if (ioctl(kbd_fd, KIOCTRANS, (caddr_t) &translate))
138 int translate;
140 if (ioctl(kbd_fd, KIOCGTRANS, (caddr_t) &translate)) {
147 ( translate == 0 ? "n (non-translated bytes)" :
148 ( translate == 1 ? "a (ascii bytes)" :
149 ( translate == 2 ? "e (encoded events)" :
150 /* translate == 3 */ "u (unencoded events)"))));