Searched refs:left_btn (Results 1 – 2 of 2) sorted by relevance
484 uint32_t left_btn = 0; in hmt_intr() local639 left_btn = hid_get_data(buf, len, &sc->btn_loc[0]); in hmt_intr()642 (int_btn != 0) | (left_btn != 0)); in hmt_intr()665 uint32_t left_btn, btn; in hmt_hid_parse() local692 left_btn = 1; in hmt_hid_parse()696 left_btn = 2; in hmt_hid_parse()747 if (left_btn == 2 && in hmt_hid_parse()753 if (hi.usage >= HID_USAGE2(HUP_BUTTON, left_btn) && in hmt_hid_parse()755 btn = (hi.usage & 0xFFFF) - left_btn; in hmt_hid_parse()
500 uint32_t left_btn = 0; in wmt_process_report() local616 left_btn = hid_get_data(buf, len, &sc->btn_loc[0]); in wmt_process_report()619 (int_btn != 0) | (left_btn != 0)); in wmt_process_report()737 uint32_t left_btn, btn; in wmt_hid_parse() local759 left_btn = 1; in wmt_hid_parse()766 left_btn = 2; in wmt_hid_parse()837 if (hi.collevel == 1 && left_btn == 2 && in wmt_hid_parse()844 hi.usage >= HID_USAGE2(HUP_BUTTON, left_btn) && in wmt_hid_parse()846 btn = (hi.usage & 0xFFFF) - left_btn; in wmt_hid_parse()