Lines Matching +full:128 +full:k
59 static unsigned char xmon_keytab[128] =
62 "u[ip\rlj'k;\\,/nm." /* 0x20 - 0x2f */
67 static unsigned char xmon_shift_keytab[128] =
70 "U{IP\rLJ\"K:|<?NM>" /* 0x20 - 0x2f */
77 int k, t, on; in udbg_adb_local_getc() local
84 k = -1; in udbg_adb_local_getc()
94 k = udbg_adb_old_getc_poll(); in udbg_adb_local_getc()
95 } while (k == -1 && xmon_adb_keycode == -1); in udbg_adb_local_getc()
98 if (k != -1) in udbg_adb_local_getc()
99 return k; in udbg_adb_local_getc()
100 k = xmon_adb_keycode; in udbg_adb_local_getc()
103 if ((k & 0x7f) == 0x38 || (k & 0x7f) == 0x7b) { in udbg_adb_local_getc()
104 xmon_adb_shiftstate = (k & 0x80) == 0; in udbg_adb_local_getc()
107 if (k >= 0x80) in udbg_adb_local_getc()
109 k = (xmon_adb_shiftstate? xmon_shift_keytab: xmon_keytab)[k]; in udbg_adb_local_getc()
110 if (k != 0) in udbg_adb_local_getc()
114 return k; in udbg_adb_local_getc()