Lines Matching refs:input2
98 struct input_dev *input2; member
416 input_report_rel(hdata->input2, REL_X, sp_x); in u1_raw_event()
417 input_report_rel(hdata->input2, REL_Y, sp_y); in u1_raw_event()
419 input_report_key(hdata->input2, BTN_LEFT, in u1_raw_event()
421 input_report_key(hdata->input2, BTN_RIGHT, in u1_raw_event()
423 input_report_key(hdata->input2, BTN_MIDDLE, in u1_raw_event()
426 input_sync(hdata->input2); in u1_raw_event()
677 struct input_dev *input = hi->input, *input2; in alps_input_configured() local
732 input2 = input_allocate_device(); in alps_input_configured()
733 if (!input2) { in alps_input_configured()
738 data->input2 = input2; in alps_input_configured()
739 input2->phys = input->phys; in alps_input_configured()
740 input2->name = "DualPoint Stick"; in alps_input_configured()
741 input2->id.bustype = BUS_I2C; in alps_input_configured()
742 input2->id.vendor = input->id.vendor; in alps_input_configured()
743 input2->id.product = input->id.product; in alps_input_configured()
744 input2->id.version = input->id.version; in alps_input_configured()
745 input2->dev.parent = input->dev.parent; in alps_input_configured()
747 input_set_drvdata(input2, hdev); in alps_input_configured()
748 input2->open = alps_sp_open; in alps_input_configured()
749 input2->close = alps_sp_close; in alps_input_configured()
751 __set_bit(EV_KEY, input2->evbit); in alps_input_configured()
754 __set_bit(BTN_LEFT + i, input2->keybit); in alps_input_configured()
756 __set_bit(EV_REL, input2->evbit); in alps_input_configured()
757 __set_bit(REL_X, input2->relbit); in alps_input_configured()
758 __set_bit(REL_Y, input2->relbit); in alps_input_configured()
759 __set_bit(INPUT_PROP_POINTER, input2->propbit); in alps_input_configured()
760 __set_bit(INPUT_PROP_POINTING_STICK, input2->propbit); in alps_input_configured()
762 if (input_register_device(data->input2)) { in alps_input_configured()
763 input_free_device(input2); in alps_input_configured()