Home
last modified time | relevance | path

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

/freebsd/sys/dev/hid/
H A Dhmt.c203 uint32_t max_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()
422 for (btn = 0; btn < sc->max_button; ++btn) { in hmt_attach()
643 for (btn = 1; btn < sc->max_button; ++btn) { in hmt_intr()
758 if (btn >= sc->max_button) in hmt_hid_parse()
759 sc->max_button = btn + 1; in hmt_hid_parse()
826 if (type == HMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in hmt_hid_parse()
/freebsd/sys/dev/usb/input/
H A Dwmt.c228 uint32_t max_button; member
432 if (sc->max_button != 0 || sc->has_int_button) { in wmt_attach()
436 for (btn = 0; btn < sc->max_button; ++btn) { in wmt_attach()
619 for (btn = 1; btn < sc->max_button; ++btn) { in wmt_process_report()
848 if (btn >= sc->max_button) in wmt_hid_parse()
849 sc->max_button = btn + 1; in wmt_hid_parse()
917 if (type == WMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in wmt_hid_parse()