Home
last modified time | relevance | path

Searched refs:has_int_button (Results 1 – 2 of 2) sorted by relevance

/src/sys/dev/hid/
H A Dhmt.c204 bool has_int_button; member
353 sc->is_clickpad = sc->max_button == 0 && sc->has_int_button; in hmt_attach()
418 if (sc->max_button != 0 || sc->has_int_button) { in hmt_attach()
420 if (sc->has_int_button) in hmt_attach()
636 if (sc->has_int_button) in hmt_intr()
640 if (sc->has_int_button || isset(sc->buttons, 0)) in hmt_intr()
671 bool has_int_button = false; in hmt_hid_parse() local
749 has_int_button = true; in hmt_hid_parse()
826 if (type == HMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in hmt_hid_parse()
855 sc->has_int_button = has_int_button; in hmt_hid_parse()
/src/sys/dev/usb/input/
H A Dwmt.c229 bool has_int_button; member
432 if (sc->max_button != 0 || sc->has_int_button) { in wmt_attach()
434 if (sc->has_int_button) in wmt_attach()
612 if (sc->has_int_button) in wmt_process_report()
616 if (sc->has_int_button || isset(sc->buttons, 0)) in wmt_process_report()
743 bool has_int_button = false; in wmt_hid_parse() local
838 has_int_button = true; in wmt_hid_parse()
917 if (type == WMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in wmt_hid_parse()
948 sc->has_int_button = has_int_button; in wmt_hid_parse()