Lines Matching refs:BTN_TOOL_PEN
134 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
152 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
191 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
204 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
221 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
247 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
271 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
272 if (wacom->tool[0] == BTN_TOOL_PEN) in wacom_dtu_irq()
319 wacom->tool[0] = BTN_TOOL_PEN; in wacom_dtus_irq()
371 wacom->tool[0] = BTN_TOOL_PEN; in wacom_graphire_irq()
695 int tool_type = BTN_TOOL_PEN; in wacom_intuos_get_tool_type()
723 tool_type = BTN_TOOL_PEN; in wacom_intuos_get_tool_type()
1385 wacom->tool[0] = BTN_TOOL_PEN; in wacom_intuos_pro2_bt_pen()
1793 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_tpc_pen()
2313 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); in wacom_wac_pen_usage_mapping()
2333 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in wacom_wac_pen_usage_mapping()
2355 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); in wacom_wac_pen_usage_mapping()
2552 wacom_wac->tool[0] = BTN_TOOL_PEN; in wacom_wac_pen_report()
3182 wacom->tool[0] = BTN_TOOL_PEN; in wacom_bpt_pen()
3539 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_basic_pro_pen()
3794 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3863 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3874 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3889 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()