/linux-master/drivers/input/ |
H A D | input-compat.c | 15 struct input_event *event) 31 if (copy_from_user(event, buffer, sizeof(struct input_event))) 39 const struct input_event *event) 55 if (copy_to_user(buffer, event, sizeof(struct input_event))) 100 struct input_event *event) 102 if (copy_from_user(event, buffer, sizeof(struct input_event))) 109 const struct input_event *event) 111 if (copy_to_user(buffer, event, sizeof(struct input_event)))
|
H A D | input-compat.h | 57 sizeof(struct input_event_compat) : sizeof(struct input_event); 64 return sizeof(struct input_event); 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); 157 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); 158 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); 177 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); 178 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); 179 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); 180 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); 181 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); 222 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); 245 input_event(de [all...] |
H A D | evdev.c | 53 struct input_event buffer[] __counted_by(bufsize); 106 struct input_event *ev; 147 struct input_event ev; 215 const struct input_event *event) 227 client->buffer[client->tail] = (struct input_event) { 249 struct input_event event; 507 struct input_event event; 541 struct input_event *event) 563 struct input_event event;
|
/linux-master/drivers/hid/ |
H A D | hid-steam.c | 1347 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); 1348 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); 1349 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); 1350 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); 1351 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); 1352 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); 1353 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); 1354 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); 1355 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); 1356 input_event(inpu [all...] |
H A D | hid-xinmo.c | 34 input_event(field->hidinput->input, usage->type,
|
H A D | hid-a4tech.c | 91 input_event(input, EV_REL, value ? REL_HWHEEL : 93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : 105 input_event(input, usage->type, REL_HWHEEL, value); 106 input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120);
|
H A D | hid-gyration.c | 64 input_event(input, usage->type, usage->code, 1); 66 input_event(input, usage->type, usage->code, 0);
|
H A D | hid-ite.c | 83 input_event(input, EV_KEY, KEY_RFKILL, 1); 85 input_event(input, EV_KEY, KEY_RFKILL, 0);
|
H A D | hid-ezkey.c | 57 input_event(input, usage->type, REL_WHEEL, -value);
|
H A D | hid-zydacron.c | 123 input_event(zc->input_ep81, EV_KEY, key, 0); 152 input_event(zc->input_ep81, EV_KEY, key, 1);
|
H A D | hid-icade.c | 182 input_event(field->hidinput->input, usage->type,
|
H A D | hid-ntrig.c | 630 input_event(input, EV_ABS, ABS_X, nd->x); 631 input_event(input, EV_ABS, ABS_Y, nd->y); 723 input_event(input, EV_ABS, ABS_X, nd->x); 724 input_event(input, EV_ABS, ABS_Y, nd->y); 728 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); 729 input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); 736 input_event(input, EV_ABS, 738 input_event(input, EV_ABS, 740 input_event(input, EV_ABS, 743 input_event(inpu [all...] |
/linux-master/include/linux/ |
H A D | input.h | 109 * and processes a new event for the device (in input_event()). 420 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 425 input_event(dev, EV_KEY, code, !!value); 430 input_event(dev, EV_REL, code, value); 435 input_event(dev, EV_ABS, code, value); 440 input_event(dev, EV_FF_STATUS, code, value); 445 input_event(dev, EV_SW, code, !!value); 450 input_event(dev, EV_SYN, SYN_REPORT, 0); 455 input_event(dev, EV_SYN, SYN_MT_REPORT, 0);
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 98 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); 99 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); 100 input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); 101 input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); 102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); 103 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor);
|
/linux-master/drivers/input/misc/ |
H A D | cobalt_btns.c | 46 input_event(input, EV_MSC, MSC_SCAN, i); 52 input_event(input, EV_MSC, MSC_SCAN, i);
|
H A D | sgi_btns.c | 63 input_event(input, EV_MSC, MSC_SCAN, i); 69 input_event(input, EV_MSC, MSC_SCAN, i);
|
H A D | atlas_btns.c | 46 input_event(input_dev, EV_MSC, MSC_SCAN, code);
|
/linux-master/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 53 input_event(input, type, button->code, button->value); 58 input_event(input, type, button->code, button->value); 62 input_event(input, type, button->code, state); 111 input_event(input, EV_REL, i, 0); 116 input_event(input, EV_ABS, i, 0);
|
H A D | maple_keyb.c | 91 input_event(dev, EV_MSC, MSC_SCAN, code); 101 input_event(dev, EV_MSC, MSC_SCAN, code); 113 input_event(dev, EV_MSC, MSC_SCAN, code);
|
/linux-master/include/linux/input/ |
H A D | mt.h | 87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot);
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-remote.c | 135 input_event(d->input_dev, EV_KEY, event, 1); 137 input_event(d->input_dev, EV_KEY, d->last_event, 0); 142 input_event(d->input_dev, EV_KEY, event, 1); 144 input_event(d->input_dev, EV_KEY, d->last_event, 0); 157 input_event(d->rc_input_dev, EV_KEY, d->last_event, 0); 167 input_event(d->rc_input_dev, EV_KEY, event, 1); 177 input_event(d->rc_input_dev, EV_KEY, d->last_event, 2);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 115 struct input_event event;
|
/linux-master/drivers/input/touchscreen/ |
H A D | max11801_ts.c | 136 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0);
|
H A D | zet6223.c | 86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, 88 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y,
|