Lines Matching refs:input

21 #include <linux/input.h>
108 struct input_dev *input;
214 /* HID ll_driver functions for forwarding input-reports from the kbd_client */
293 input_report_key(dock->input, KEY_RIGHTALT, dock->altgr_pressed);
294 input_sync(dock->input);
321 input_report_key(dock->input, KEY_RIGHTALT, false);
322 input_sync(dock->input);
325 input_report_key(dock->input, key_code, true);
326 input_sync(dock->input);
331 input_report_key(dock->input, key_code, false);
332 input_sync(dock->input);
335 input_report_key(dock->input, KEY_RIGHTALT, true);
336 input_sync(dock->input);
363 * The keyboard sends what appears to be standard I2C-HID input-reports,
365 * input-reports are stored must be send before reading it in a single
376 * are a mess, using a mix of the 0x13 and 0x14 input reports as well as EC SCI
595 /* intr_data[3] seems to contain a HID input report id */
743 * The pin is configured as input by default, use ASIS because otherwise
815 dock->input = devm_input_allocate_device(dev);
816 if (!dock->input)
819 dock->input->name = "Asus TF103C Dock Top Row Keys";
820 dock->input->phys = dev_name(dev);
821 dock->input->dev.parent = dev;
822 dock->input->id.bustype = BUS_I2C;
823 dock->input->id.vendor = /* USB_VENDOR_ID_ASUSTEK */
824 dock->input->id.product = /* From TF-103-C */
825 dock->input->id.version = 0x0100; /* 1.0 */
828 input_set_capability(dock->input, EV_KEY, tf103c_dock_toprow_codes[i][0]);
829 input_set_capability(dock->input, EV_KEY, tf103c_dock_toprow_codes[i][1]);
831 input_set_capability(dock->input, EV_KEY, KEY_RIGHTALT);
833 ret = input_register_device(dock->input);