Lines Matching refs:ev
418 static union xenkbd_in_event ev; variable
424 has_ev = kbdfront_receive(kbd_dev, &ev, 1); in console_checkkey()
614 has_ev = kbdfront_receive(kbd_dev, &ev, 1); in console_getkey()
619 if (ev.type != XENKBD_TYPE_KEY) in console_getkey()
622 if (ev.key.keycode == 42 || ev.key.keycode == 54) { in console_getkey()
624 shift = ev.key.pressed; in console_getkey()
627 if (ev.key.keycode == 58) { in console_getkey()
631 if (ev.key.keycode == 29 || ev.key.keycode == 97) { in console_getkey()
632 control = ev.key.pressed; in console_getkey()
635 if (ev.key.keycode == 56) { in console_getkey()
636 alt = ev.key.pressed; in console_getkey()
640 if (!ev.key.pressed) in console_getkey()
643 if (ev.key.keycode < sizeof(linux2ascii) / sizeof(*linux2ascii)) { in console_getkey()
646 val = linux2ascii_shifted[ev.key.keycode]; in console_getkey()
648 val = linux2ascii[ev.key.keycode]; in console_getkey()