Lines Matching refs:input
36 /* Pen input device */
46 * Emulate input events normally generated when pen goes out of range for
56 struct input_dev *input = drvdata->pen_input;
58 if (input == NULL)
60 input_report_abs(input, ABS_PRESSURE, 0);
62 if (test_bit(BTN_TOUCH, input->key)) {
63 input_event(input, EV_MSC, MSC_SCAN,
66 input_report_key(input, BTN_TOUCH, 0);
68 input_report_key(input, BTN_TOOL_PEN, 0);
69 input_sync(input);
117 * If this is the input corresponding to the pen report
121 /* Remember the input device so we can simulate events */
122 drvdata->pen_input = hi->input;
150 name = devm_kzalloc(&hi->input->dev, len, GFP_KERNEL);
153 hi->input->name = name;