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;
1386 wacom->tool[0] = BTN_TOOL_PEN;
1794 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
2312 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0);
2332 input_set_capability(input, EV_KEY, BTN_TOOL_PEN);
2354 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0);
2543 wacom_wac->tool[0] = BTN_TOOL_PEN;
3182 wacom->tool[0] = BTN_TOOL_PEN;
3539 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3794 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3863 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3874 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
3889 __set_bit(BTN_TOOL_PEN, input_dev->keybit);