Lines Matching refs:BTN_TOOL_PEN
134 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
152 input_report_key(input, BTN_TOOL_PEN, 1);
191 wacom->tool[0] = BTN_TOOL_PEN;
204 wacom->tool[0] = BTN_TOOL_PEN;
221 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20));
247 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20);
271 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
272 if (wacom->tool[0] == BTN_TOOL_PEN)
319 wacom->tool[0] = BTN_TOOL_PEN;
371 wacom->tool[0] = BTN_TOOL_PEN;
695 int tool_type = BTN_TOOL_PEN;
724 tool_type = BTN_TOOL_PEN;
1381 wacom->tool[0] = BTN_TOOL_PEN;
1792 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
2296 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0);
2327 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0);
2334 input_set_capability(input, EV_KEY, BTN_TOOL_PEN);
2512 wacom_wac->tool[0] = BTN_TOOL_PEN;
3114 wacom->tool[0] = BTN_TOOL_PEN;
3477 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3734 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3803 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3814 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3829 __set_bit(BTN_TOOL_PEN, input_dev->keybit);