Lines Matching refs:BTN_TOOL_PEN
129 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_penpartner_irq()
147 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
186 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
199 wacom->tool[0] = BTN_TOOL_PEN; in wacom_pl_irq()
216 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
242 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
266 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_dtu_irq()
267 if (wacom->tool[0] == BTN_TOOL_PEN) in wacom_dtu_irq()
314 wacom->tool[0] = BTN_TOOL_PEN; in wacom_dtus_irq()
366 wacom->tool[0] = BTN_TOOL_PEN; in wacom_graphire_irq()
690 int tool_type = BTN_TOOL_PEN; in wacom_intuos_get_tool_type()
719 tool_type = BTN_TOOL_PEN; in wacom_intuos_get_tool_type()
1360 wacom->tool[0] = BTN_TOOL_PEN; in wacom_intuos_pro2_bt_pen()
1764 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; in wacom_tpc_pen()
2285 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); in wacom_wac_pen_usage_mapping()
2305 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in wacom_wac_pen_usage_mapping()
2327 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); in wacom_wac_pen_usage_mapping()
2515 wacom_wac->tool[0] = BTN_TOOL_PEN; in wacom_wac_pen_report()
3162 wacom->tool[0] = BTN_TOOL_PEN; in wacom_bpt_pen()
3525 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_basic_pro_pen()
3780 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3849 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3860 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3875 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_pen_input_capabilities()