Home | History | Annotate | Download | only in hyperv

Lines Matching defs:ks

103 	struct keystroke	ks;
109 struct keystroke ks;
371 hvkbd_keybuf_add_keystroke(struct hvkbd_softc *sc, const struct keystroke *ks)
379 ksi->ks = *ks;
391 struct keystroke ks;
397 ks = ksi->ks;
410 if (ks.info & KS_INFO_UNICODE)
413 *type = (ks.info & KS_INFO_BREAK) ?
415 *scancode = ks.makecode;
424 struct keystroke ks;
431 ks = ksi->ks;
444 if (ks.info & KS_INFO_UNICODE)
448 if (ks.info & (KS_INFO_E0|KS_INFO_E1)) {
449 if (ks.info & KS_INFO_E0)
454 if (ks.info & KS_INFO_BREAK)
455 buf[i++] = (u_char)ks.makecode & 0x80;
457 buf[i++] = (u_char)ks.makecode;
473 const struct hvkbd_keystroke *ks;
517 ks = VMBUS_CHANPKT_CONST_DATA(cph);
518 hvkbd_keybuf_add_keystroke(sc, &ks->ks);