Lines Matching refs:pen_input_dev
71 struct input_dev *pen_input_dev; member
236 input_report_key(udraw->pen_input_dev, BTN_TOUCH, (level != 0)); in udraw_raw_event()
237 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 1); in udraw_raw_event()
238 input_report_abs(udraw->pen_input_dev, ABS_PRESSURE, level); in udraw_raw_event()
239 input_report_abs(udraw->pen_input_dev, ABS_X, x); in udraw_raw_event()
240 input_report_abs(udraw->pen_input_dev, ABS_Y, y); in udraw_raw_event()
242 input_report_key(udraw->pen_input_dev, BTN_TOUCH, 0); in udraw_raw_event()
243 input_report_key(udraw->pen_input_dev, BTN_TOOL_PEN, 0); in udraw_raw_event()
244 input_report_abs(udraw->pen_input_dev, ABS_PRESSURE, 0); in udraw_raw_event()
246 input_sync(udraw->pen_input_dev); in udraw_raw_event()
352 udraw->pen_input_dev = input_dev; in udraw_setup_pen()
438 input_register_device(udraw->pen_input_dev) || in udraw_probe()