BTN_MIDDLE
jog_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_MIDDLE);
kp.key = BTN_MIDDLE;
input_report_key(hdata->input, BTN_MIDDLE,
input_report_key(hdata->input2, BTN_MIDDLE,
[BTN_MIDDLE] = "MiddleBtn", [BTN_SIDE] = "SideBtn",
case 0x01: ks_map_key(BTN_MIDDLE); break;
map_key_clear(BTN_MIDDLE);
map_key_clear(BTN_MIDDLE);
map_key_clear(BTN_MIDDLE);
if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) {
EV_KEY, BTN_MIDDLE, 1);
EV_KEY, BTN_MIDDLE, 0);
input_report_key(hidpp->input, BTN_MIDDLE, 1);
input_report_key(hidpp->input, BTN_MIDDLE, 0);
__set_bit(BTN_MIDDLE, input_dev->keybit);
test_bit(BTN_MIDDLE, msc->input->key) << 2;
input_report_key(msc->input, BTN_MIDDLE, state & 4);
__set_bit(BTN_MIDDLE, input->keybit);
__clear_bit(BTN_MIDDLE, input->keybit);
__clear_bit(BTN_MIDDLE, input->keybit);
BTN_MIDDLE,
BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, data[0] & 0x04);
__set_bit(BTN_MIDDLE, input_dev->keybit);
input_report_key(input, BTN_MIDDLE, data[1] & 0x04);
__set_bit(BTN_MIDDLE, input_dev->keybit);
input_report_key(input, BTN_MIDDLE,
input_report_key(input, BTN_MIDDLE, 0);
input_report_key(input, BTN_MIDDLE, data[8] & 0x02);
input_report_key(input, BTN_MIDDLE, data[6] & 0x02);
input_report_key(input, BTN_MIDDLE, data[8] & 0x08);
input_report_key(input, BTN_MIDDLE, data[8] & 0x02);
__set_bit(BTN_MIDDLE, jd_scratch);
input_report_key(dev, BTN_MIDDLE, data[3] & 4);
input_report_key(dev, BTN_MIDDLE, data[3] & 4);
BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) |
BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE);
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
__set_bit(BTN_MIDDLE, input_dev->keybit);
input_report_key(dev, BTN_MIDDLE, click);
ptr->btnmap[1] = BTN_MIDDLE;
input_report_key(dev, BTN_MIDDLE, f->middle);
input_report_key(dev2, BTN_MIDDLE, f->ts_middle);
input_report_key(dev, BTN_MIDDLE, f->middle);
input_set_capability(dev3, EV_KEY, BTN_MIDDLE);
dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1;
input_report_key(dev, BTN_MIDDLE, middle);
dev1->keybit[BIT_WORD(BTN_MIDDLE)] |= BIT_MASK(BTN_MIDDLE);
input_set_capability(dev2, EV_KEY, BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, f->middle);
input_report_key(dev, BTN_MIDDLE, middle);
input_report_key(dev2, BTN_MIDDLE, f->ts_middle);
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
input_report_key(dev, BTN_MIDDLE, potgor & 0x0100);
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2);
__clear_bit(BTN_MIDDLE, dev->keybit);
__set_bit(BTN_MIDDLE, input->keybit);
input_report_key(input, BTN_MIDDLE,
input_report_key(input, BTN_MIDDLE,
__set_bit(BTN_MIDDLE, input->keybit);
input_report_key(input, BTN_MIDDLE, report_data.middle);
input_report_key(input, BTN_MIDDLE, tp_info & BIT(2));
input_report_key(input, BTN_MIDDLE, packet[0] & 0x04);
input_set_capability(input, EV_KEY, BTN_MIDDLE);
__set_bit(BTN_MIDDLE, input->keybit);
__set_bit(BTN_MIDDLE, dev->keybit);
BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) |
__clear_bit(BTN_MIDDLE, dev->keybit);
input_set_capability(input, EV_KEY, BTN_MIDDLE);
input_report_key(input, BTN_MIDDLE,
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
input_report_key(inport_dev, BTN_MIDDLE, buttons & 1);
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2);
input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, buttons & 9);
BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, buttons & BIT(2));
__set_bit(BTN_MIDDLE, psmouse->dev->keybit);
__set_bit(BTN_MIDDLE, psmouse->dev->keybit);
__set_bit(BTN_MIDDLE, psmouse->dev->keybit);
__set_bit(BTN_MIDDLE, psmouse->dev->keybit);
input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE);
__set_bit(BTN_MIDDLE, psmouse->dev->keybit);
input_report_key(dev, BTN_MIDDLE, b & 0x20);
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
__set_bit(BTN_MIDDLE, dev->keybit);
input_report_key(dev, BTN_MIDDLE, !test_bit(BTN_MIDDLE, dev->key));
input_report_key(dev, BTN_MIDDLE, (data >> 5) & 1);
input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1);
if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit);
input_report_key(dev, BTN_MIDDLE, !(data & 2));
input_report_key(dev, BTN_MIDDLE, hw->middle);
input_set_capability(dev, EV_KEY, BTN_MIDDLE);
input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x02);
input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x08);
__set_bit(BTN_MIDDLE, input_dev->keybit);
input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE);
pref_dev, BTN_MIDDLE,
input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, middle);
input_report_key(dev, BTN_MIDDLE, middle);
input_report_key(dev, BTN_MIDDLE, middle);
__set_bit(BTN_MIDDLE, input_dev->keybit);
case BTN_MIDDLE: index = 2; break;
if (button < BTN_LEFT || button > BTN_MIDDLE)
BTN_LEFT, BTN_RIGHT, BTN_MIDDLE,
input_report_key(inputdev, BTN_MIDDLE, middle);
input_report_key(inputdev, BTN_MIDDLE, middle);
input_report_key(wacom->dev, BTN_MIDDLE, button & 4);
set_bit(BTN_MIDDLE, input_dev->keybit);
input_report_key(adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1));
BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT);
btn = BTN_MIDDLE;
{ 0x801016, BTN_MIDDLE }, /* drag and drop */
input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE);
BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE);
kp.key = BTN_MIDDLE;
input_set_capability(jog_dev, EV_KEY, BTN_MIDDLE);
input_report_key(dev, BTN_MIDDLE, sdata[0] & 0x04);
BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE);