Lines Matching refs:BTN_TOOL_PEN
26 wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
44 input_report_key(input, BTN_TOOL_PEN, 1);
94 wacom->tool[1] = (data[4] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
101 wacom->tool[1] = BTN_TOOL_PEN;
107 wacom->tool[1] = BTN_TOOL_PEN;
119 input_report_key(input, BTN_STYLUS2, (wacom->tool[1] == BTN_TOOL_PEN) && (data[4] & 0x20));
124 wacom->tool[1] = BTN_TOOL_PEN;
148 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20);
172 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
173 if (wacom->tool[0] == BTN_TOOL_PEN)
214 wacom->tool[0] = BTN_TOOL_PEN;
341 wacom->tool[idx] = BTN_TOOL_PEN;
387 wacom->tool[idx] = BTN_TOOL_PEN;
826 wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
827 if (wacom->tool[0] == BTN_TOOL_PEN)
922 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
980 __set_bit(BTN_TOOL_PEN, input_dev->keybit);
1059 if (features->device_type != BTN_TOOL_PEN)
1067 __set_bit(BTN_TOOL_PEN, input_dev->keybit);