Searched refs:input_event (Results 1 - 25 of 104) sorted by relevance

12345

/linux-master/drivers/input/
H A Dinput-compat.c15 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 Dinput-compat.h57 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 Dinput-mt.c149 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 Devdev.c53 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 Dhid-steam.c1347 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 Dhid-xinmo.c34 input_event(field->hidinput->input, usage->type,
H A Dhid-a4tech.c91 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 Dhid-gyration.c64 input_event(input, usage->type, usage->code, 1);
66 input_event(input, usage->type, usage->code, 0);
H A Dhid-ite.c83 input_event(input, EV_KEY, KEY_RFKILL, 1);
85 input_event(input, EV_KEY, KEY_RFKILL, 0);
H A Dhid-ezkey.c57 input_event(input, usage->type, REL_WHEEL, -value);
H A Dhid-zydacron.c123 input_event(zc->input_ep81, EV_KEY, key, 0);
152 input_event(zc->input_ep81, EV_KEY, key, 1);
H A Dhid-icade.c182 input_event(field->hidinput->input, usage->type,
H A Dhid-ntrig.c630 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 Dinput.h109 * 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 Drmi_2d_sensor.c98 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 Dcobalt_btns.c46 input_event(input, EV_MSC, MSC_SCAN, i);
52 input_event(input, EV_MSC, MSC_SCAN, i);
H A Dsgi_btns.c63 input_event(input, EV_MSC, MSC_SCAN, i);
69 input_event(input, EV_MSC, MSC_SCAN, i);
H A Datlas_btns.c46 input_event(input_dev, EV_MSC, MSC_SCAN, code);
/linux-master/drivers/input/keyboard/
H A Dgpio_keys_polled.c53 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 Dmaple_keyb.c91 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 Dmt.h87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot);
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-remote.c135 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 Dtest_lirc_mode2_user.c115 struct input_event event;
/linux-master/drivers/input/touchscreen/
H A Dmax11801_ts.c136 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1);
141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0);
H A Dzet6223.c86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X,
88 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y,

Completed in 160 milliseconds

12345