Lines Matching refs:pad_input
301 input = wacom->pad_input; in wacom_dtus_irq()
346 struct input_dev *pad_input = wacom->pad_input; in wacom_graphire_irq() local
443 input_report_key(pad_input, BTN_BACK, (data[7] & 0x40)); in wacom_graphire_irq()
444 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x80)); in wacom_graphire_irq()
446 input_report_rel(pad_input, REL_WHEEL, rw); in wacom_graphire_irq()
449 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
458 input_report_key(pad_input, BTN_BACK, (data[7] & 0x08)); in wacom_graphire_irq()
459 input_report_key(pad_input, BTN_LEFT, (data[7] & 0x20)); in wacom_graphire_irq()
460 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x10)); in wacom_graphire_irq()
461 input_report_key(pad_input, BTN_RIGHT, (data[7] & 0x40)); in wacom_graphire_irq()
462 input_report_abs(pad_input, ABS_WHEEL, (data[8] & 0x7f)); in wacom_graphire_irq()
465 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
473 input_report_key(pad_input, BTN_0, (data[7] & 0x02)); in wacom_graphire_irq()
474 input_report_key(pad_input, BTN_1, (data[7] & 0x01)); in wacom_graphire_irq()
477 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
517 struct input_dev *input = wacom->pad_input; in wacom_intuos_pad()
1245 if (wacom->pad_input) in wacom_intuos_bt_process_data()
1246 input_sync(wacom->pad_input); in wacom_intuos_bt_process_data()
1511 struct input_dev *pad_input = wacom->pad_input; in wacom_intuos_pro2_bt_pad() local
1527 wacom_report_numbered_buttons(pad_input, nbuttons, in wacom_intuos_pro2_bt_pad()
1530 input_report_abs(pad_input, ABS_WHEEL, ringstatus ? ring : 0); in wacom_intuos_pro2_bt_pad()
1532 input_report_key(pad_input, wacom->tool[1], prox ? 1 : 0); in wacom_intuos_pro2_bt_pad()
1533 input_report_abs(pad_input, ABS_MISC, prox ? PAD_DEVICE_ID : 0); in wacom_intuos_pro2_bt_pad()
1534 input_event(pad_input, EV_MSC, MSC_SERIAL, 0xffffffff); in wacom_intuos_pro2_bt_pad()
1536 input_sync(pad_input); in wacom_intuos_pro2_bt_pad()
1552 struct input_dev *pad_input = wacom->pad_input; in wacom_intuos_gen3_bt_pad() local
1557 wacom_report_numbered_buttons(pad_input, 4, buttons); in wacom_intuos_gen3_bt_pad()
1559 input_report_key(pad_input, wacom->tool[1], buttons ? 1 : 0); in wacom_intuos_gen3_bt_pad()
1560 input_report_abs(pad_input, ABS_MISC, buttons ? PAD_DEVICE_ID : 0); in wacom_intuos_gen3_bt_pad()
1561 input_event(pad_input, EV_MSC, MSC_SERIAL, 0xffffffff); in wacom_intuos_gen3_bt_pad()
1563 input_sync(pad_input); in wacom_intuos_gen3_bt_pad()
2038 struct input_dev *input = wacom_wac->pad_input; in wacom_wac_pad_usage_mapping()
2146 struct input_dev *input = wacom_wac->pad_input; in wacom_wac_pad_event()
2261 struct input_dev *input = wacom_wac->pad_input; in wacom_wac_pad_report()
3000 if (pad_in_hid_field && wacom->wacom_wac.pad_input) in wacom_wac_report()
3020 if (true_pad && wacom->wacom_wac.pad_input) in wacom_wac_report()
3028 struct input_dev *pad_input = wacom->pad_input; in wacom_bpt_touch() local
3056 input_report_key(pad_input, BTN_LEFT, (data[1] & 0x08) != 0); in wacom_bpt_touch()
3057 input_report_key(pad_input, BTN_FORWARD, (data[1] & 0x04) != 0); in wacom_bpt_touch()
3058 input_report_key(pad_input, BTN_BACK, (data[1] & 0x02) != 0); in wacom_bpt_touch()
3059 input_report_key(pad_input, BTN_RIGHT, (data[1] & 0x01) != 0); in wacom_bpt_touch()
3110 struct input_dev *input = wacom->pad_input; in wacom_bpt3_button_msg()
3535 if (wacom_wac->pad_input) in wacom_wac_irq()
3536 input_sync(wacom_wac->pad_input); in wacom_wac_irq()
4196 if (features->type == REMOTE && input_dev == wacom_wac->pad_input) in wacom_setup_pad_input_capabilities()