Lines Matching refs:input
474 input_set_abs_params(hi->input, ABS_X, in ntrig_input_mapping()
496 input_set_abs_params(hi->input, ABS_Y, in ntrig_input_mapping()
535 input_set_abs_params(hi->input, ABS_MT_ORIENTATION, in ntrig_input_mapping()
574 struct input_dev *input; in ntrig_event() local
582 if(!(field->hidinput && field->hidinput->input)) in ntrig_event()
585 input = field->hidinput->input; in ntrig_event()
630 input_report_key(input, BTN_TOUCH, in ntrig_event()
632 input_report_key(input, BTN_TOOL_DOUBLETAP, in ntrig_event()
634 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
635 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
727 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
728 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
732 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); in ntrig_event()
733 input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); in ntrig_event()
740 input_event(input, EV_ABS, in ntrig_event()
742 input_event(input, EV_ABS, in ntrig_event()
744 input_event(input, EV_ABS, in ntrig_event()
747 input_event(input, EV_ABS, in ntrig_event()
749 input_event(input, EV_ABS, in ntrig_event()
751 input_event(input, EV_ABS, in ntrig_event()
754 input_mt_sync(field->hidinput->input); in ntrig_event()
840 input_report_key(input, BTN_TOOL_DOUBLETAP, 1); in ntrig_event()
841 input_report_key(input, BTN_TOUCH, 1); in ntrig_event()
843 input_report_key(input, BTN_TOOL_DOUBLETAP, 0); in ntrig_event()
844 input_report_key(input, BTN_TOUCH, 0); in ntrig_event()
866 struct input_dev *input = hidinput->input; in ntrig_input_configured() local
873 input->name = "N-Trig Pen"; in ntrig_input_configured()
878 __clear_bit(BTN_TOOL_PEN, input->keybit); in ntrig_input_configured()
879 __clear_bit(BTN_TOOL_FINGER, input->keybit); in ntrig_input_configured()
880 __clear_bit(BTN_0, input->keybit); in ntrig_input_configured()
881 __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); in ntrig_input_configured()
888 input->name = (hidinput->report->field[0]->physical) ? in ntrig_input_configured()