Lines Matching defs:input
27 * Emulate input events normally generated when pen goes out of range for
37 struct input_dev *input = drvdata->pen_input;
39 if (input == NULL)
41 input_report_abs(input, ABS_PRESSURE, 0);
43 if (test_bit(BTN_TOUCH, input->key)) {
44 input_event(input, EV_MSC, MSC_SCAN,
47 input_report_key(input, BTN_TOUCH, 0);
49 input_report_key(input, BTN_TOOL_PEN, 0);
50 input_sync(input);
98 * If this is the input corresponding to the pen report
102 /* Remember the input device so we can simulate events */
103 drvdata->pen_input = hi->input;
117 __clear_bit(EV_MSC, hi->input->evbit);
148 hi->input->name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
427 /* Do not handle anything but input reports */