/linux/drivers/input/ |
H A D | input-compat.c | 15 struct input_event *event) in input_event_from_user() 31 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 39 const struct input_event *event) in input_event_to_user() 55 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user() 100 struct input_event *event) in input_event_from_user() 102 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 109 const struct input_event *event) in input_event_to_user() 111 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
|
H A D | input-compat.h | 57 sizeof(struct input_event_compat) : sizeof(struct input_event); in input_event_size() 64 return sizeof(struct input_event); in input_event_size() 70 struct input_event *event); 73 const struct input_event *event);
|
H A D | input-mt.c | 149 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state() 157 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state() 158 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state() 177 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 181 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 222 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation() 245 input_event(de in input_mt_report_pointer_emulation() [all...] |
H A D | evdev.c | 53 struct input_event buffer[] __counted_by(bufsize); 106 struct input_event *ev; in __evdev_flush_queue() 147 struct input_event ev; in __evdev_queue_syn_dropped() 215 const struct input_event *event) in __pass_event() 227 client->buffer[client->tail] = (struct input_event) { in __pass_event() 249 struct input_event event; in evdev_pass_values() 498 struct input_event event; in evdev_write() 539 struct input_event *event) in evdev_fetch_next_event() 561 struct input_event event; in evdev_read()
|
/linux/drivers/hid/ |
H A D | hid-steam.c | 1474 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); in steam_do_input_event() 1475 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); in steam_do_input_event() 1476 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event() 1477 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event() 1478 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event() 1479 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event() 1480 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event() 1481 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event() 1482 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); in steam_do_input_event() 1483 input_event(inpu in steam_do_input_event() [all...] |
H A D | hid-a4tech.c | 91 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event() 93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : in a4_event() 105 input_event(input, usage->type, REL_HWHEEL, value); in a4_event() 106 input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120); in a4_event()
|
H A D | hid-ntrig.c | 630 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 631 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 723 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 724 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 728 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); in ntrig_event() 729 input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); in ntrig_event() 736 input_event(input, EV_ABS, in ntrig_event() 738 input_event(input, EV_ABS, in ntrig_event() 740 input_event(input, EV_ABS, in ntrig_event() 743 input_event(inpu in ntrig_event() [all...] |
H A D | hid-gyration.c | 64 input_event(input, usage->type, usage->code, 1); in gyration_event() 66 input_event(input, usage->type, usage->code, 0); in gyration_event()
|
H A D | hid-zydacron.c | 123 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 152 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event()
|
H A D | hid-input.c | 1476 input_event(input, EV_REL, code, lo_res); in hidinput_handle_scroll() 1477 input_event(input, EV_REL, usage->code, hi_res); in hidinput_handle_scroll() 1491 input_event(input, EV_KEY, BTN_TOUCH, 0); in hid_report_release_tool() 1492 input_event(input, EV_KEY, tool, 0); in hid_report_release_tool() 1493 input_event(input, EV_SYN, SYN_REPORT, 0); in hid_report_release_tool() 1504 input_event(input, EV_KEY, new_tool, 1); in hid_report_set_tool() 1536 input_event(input, usage->type, usage->code , hid_hat_to_axis[hat_dir].x); in hidinput_hid_event() 1537 input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y); in hidinput_hid_event() 1644 input_event(input, EV_KEY, BTN_TOUCH, 1); in hidinput_hid_event() 1681 input_event(inpu in hidinput_hid_event() [all...] |
H A D | hid-multitouch.c | 1001 input_event(input, EV_KEY, BTN_LEFT, app->left_button_state); in mt_sync_frame() 1004 input_event(input, EV_MSC, MSC_TIMESTAMP, app->timestamp); in mt_sync_frame() 1181 input_event(input, EV_ABS, ABS_MT_POSITION_X, x); in mt_process_slot() 1182 input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); in mt_process_slot() 1183 input_event(input, EV_ABS, ABS_MT_TOOL_X, cx); in mt_process_slot() 1184 input_event(input, EV_ABS, ABS_MT_TOOL_Y, cy); in mt_process_slot() 1185 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); in mt_process_slot() 1186 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot() 1187 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot() 1188 input_event(inpu in mt_process_slot() [all...] |
H A D | hid-ezkey.c | 57 input_event(input, usage->type, REL_WHEEL, -value); in ez_event()
|
/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 98 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); in rmi_2d_sensor_abs_report() 99 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); in rmi_2d_sensor_abs_report() 100 input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); in rmi_2d_sensor_abs_report() 101 input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); in rmi_2d_sensor_abs_report() 102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report() 103 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in rmi_2d_sensor_abs_report()
|
/linux/drivers/input/misc/ |
H A D | cobalt_btns.c | 46 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 52 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
H A D | sgi_btns.c | 63 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 69 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
H A D | nxp-bbnsm-pwrkey.c | 59 input_event(input, EV_KEY, bbnsm->keycode, state); in bbnsm_pwrkey_check_for_events() 89 input_event(input, EV_KEY, bbnsm->keycode, 1); in bbnsm_pwrkey_interrupt()
|
H A D | uinput.c | 64 struct input_event buff[UINPUT_BUFFER_SIZE]; 80 udev->buff[udev->head] = (struct input_event) { in uinput_dev_event() 618 struct input_event ev; in uinput_inject_events() 639 input_event(udev->dev, ev.type, ev.code, ev.value); in uinput_inject_events() 670 struct input_event *event) in uinput_fetch_next_event() 690 struct input_event event; in uinput_events_to_user()
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-remote.c | 135 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 137 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 142 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 144 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 157 input_event(d->rc_input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 167 input_event(d->rc_input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 177 input_event(d->rc_input_dev, EV_KEY, d->last_event, 2); in legacy_dvb_usb_read_remote_control()
|
/linux/drivers/input/touchscreen/ |
H A D | max11801_ts.c | 136 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt() 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt()
|
H A D | zet6223.c | 84 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, in zet6223_irq() 86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, in zet6223_irq()
|
H A D | penmount.c | 75 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); in pm_mtevent() 76 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); in pm_mtevent()
|
/linux/Documentation/input/ |
H A D | ff.rst | 162 struct input_event play; 163 struct input_event stop; 194 struct input_event ie; /* structure used to communicate with the driver */ 213 struct input_event ie; 243 struct input_event {
|
/linux/drivers/input/keyboard/ |
H A D | imx-sm-bbm-key.c | 50 input_event(input, EV_KEY, bbnsm->keycode, state); in scmi_imx_bbm_pwrkey_check_for_events() 73 input_event(input, EV_KEY, bbnsm->keycode, 1); in scmi_imx_bbm_pwrkey_event()
|
H A D | pxa27x_keypad.c | 466 input_event(input_dev, EV_MSC, MSC_SCAN, code); in pxa27x_keypad_scan_matrix() 499 input_event(dev, EV_MSC, MSC_SCAN, code); in report_rotary_event() 502 input_event(dev, EV_MSC, MSC_SCAN, code); in report_rotary_event() 558 input_event(input_dev, EV_MSC, MSC_SCAN, code); in pxa27x_keypad_scan_direct()
|
/linux/include/linux/input/ |
H A D | mt.h | 87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot); in input_mt_slot()
|