/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-steam.c | 1121 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); in steam_do_input_event() 1122 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); in steam_do_input_event() 1123 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event() 1124 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event() 1125 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event() 1126 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event() 1127 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event() 1128 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event() 1129 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); in steam_do_input_event() 1130 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()
|
/kernel/linux/linux-5.10/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-mt.c | 148 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state() 156 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state() 157 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state() 176 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 177 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 221 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation() 244 input_event(de in input_mt_report_pointer_emulation() [all...] |
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);
|
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-steam.c | 971 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); in steam_do_input_event() 972 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); in steam_do_input_event() 973 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event() 974 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event() 975 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event() 976 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event() 977 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event() 978 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event() 979 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); in steam_do_input_event() 980 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-apple.c | 224 input_event(input, usage->type, KEY_FN, value); in hidinput_apple_event() 267 input_event(input, usage->type, code, value); in hidinput_apple_event() 285 input_event(input, usage->type, trans->to, in hidinput_apple_event() 297 input_event(input, usage->type, trans->to, value); in hidinput_apple_event() 306 input_event(input, usage->type, trans->to, value); in hidinput_apple_event() 314 input_event(input, usage->type, trans->to, value); in hidinput_apple_event() 333 input_event(field->hidinput->input, usage->type, usage->code, in apple_event()
|
H A D | hid-ite.c | 83 input_event(input, EV_KEY, KEY_RFKILL, 1); in ite_event() 85 input_event(input, EV_KEY, KEY_RFKILL, 0); in ite_event()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | input.h | 107 * and processes a new event for the device (in input_event()). 412 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 417 input_event(dev, EV_KEY, code, !!value); in input_report_key() 422 input_event(dev, EV_REL, code, value); in input_report_rel() 427 input_event(dev, EV_ABS, code, value); in input_report_abs() 432 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status() 437 input_event(dev, EV_SW, code, !!value); in input_report_switch() 442 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync() 447 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
|
/kernel/linux/linux-6.6/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); in input_report_key() 430 input_event(dev, EV_REL, code, value); in input_report_rel() 435 input_event(dev, EV_ABS, code, value); in input_report_abs() 440 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status() 445 input_event(dev, EV_SW, code, !!value); in input_report_switch() 450 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync() 455 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | peaq-wmi.c | 60 input_event(input_dev, EV_KEY, KEY_SOUND, 1); in peaq_wmi_poll() 62 input_event(input_dev, EV_KEY, KEY_SOUND, 0); in peaq_wmi_poll()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 53 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 58 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 62 input_event(input, type, button->code, state); in gpio_keys_button_event() 111 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll() 116 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll()
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 53 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 58 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 62 input_event(input, type, button->code, state); in gpio_keys_button_event() 111 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll() 116 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll()
|
/kernel/linux/linux-5.10/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()
|