Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/hid/
H A Dhmt.c206 bool has_int_button; member
355 sc->is_clickpad = sc->max_button == 0 && sc->has_int_button; in hmt_attach()
420 if (sc->max_button != 0 || sc->has_int_button) { in hmt_attach()
422 if (sc->has_int_button) in hmt_attach()
638 if (sc->has_int_button) in hmt_intr()
642 if (sc->has_int_button || isset(sc->buttons, 0)) in hmt_intr()
673 bool has_int_button = false; in hmt_hid_parse() local
751 has_int_button = true; in hmt_hid_parse()
829 if (type == HMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in hmt_hid_parse()
858 sc->has_int_button = has_int_button; in hmt_hid_parse()
/freebsd-13.1/sys/dev/usb/input/
H A Dwmt.c232 bool has_int_button; member
445 if (sc->max_button != 0 || sc->has_int_button) { in wmt_attach()
447 if (sc->has_int_button) in wmt_attach()
625 if (sc->has_int_button) in wmt_process_report()
629 if (sc->has_int_button || isset(sc->buttons, 0)) in wmt_process_report()
758 bool has_int_button = false; in wmt_hid_parse() local
853 has_int_button = true; in wmt_hid_parse()
932 if (type == WMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in wmt_hid_parse()
963 sc->has_int_button = has_int_button; in wmt_hid_parse()