Lines Matching refs:kbdd_translate
137 int kbdd_translate; /* Translate keycodes? */
148 * when kbdd_translate is TR_*EVENT
397 kbdd->kbdd_translate = TR_ASCII;
536 if (new_translate == kbdd->kbdd_translate)
538 kbdd->kbdd_translate = new_translate;
547 if (new_translate == kbdd->kbdd_translate)
549 kbdd->kbdd_translate = new_translate;
620 (kbdd->kbdd_translate == TR_EVENT ||
621 kbdd->kbdd_translate == TR_UNTRANS_EVENT) ?
635 *(int *)datap->b_wptr = kbdd->kbdd_translate;
995 kbdd->kbdd_translate == TR_NONE)
1757 if (kbdd->kbdd_translate == TR_UNTRANS_EVENT) {
1850 if (kbdd->kbdd_translate ==
1862 kbdd->kbdd_translate ==
1884 if (kbdd->kbdd_translate == TR_EVENT) {
1890 } else if (kbdd->kbdd_translate == TR_ASCII)
1908 kbdd->kbdd_translate == TR_EVENT)) {
1917 if ((newstate == RELEASED) && (kbdd->kbdd_translate == TR_EVENT))
1928 switch (kbdd->kbdd_translate) {
1973 if (kbdd->kbdd_translate == TR_EVENT && newstate == PRESSED) {
1989 if (kbdd->kbdd_translate == TR_EVENT && newstate == PRESSED) {
2049 switch (kbdd->kbdd_translate) {
2064 switch (kbdd->kbdd_translate) {
2116 switch (kbdd->kbdd_translate) {
2273 if (kbdd->kbdd_translate == TR_EVENT ||
2274 kbdd->kbdd_translate == TR_UNTRANS_EVENT) {
2313 if (kbdd->kbdd_translate != TR_EVENT &&
2314 kbdd->kbdd_translate != TR_UNTRANS_EVENT)