Home
last modified time | relevance | path

Searched refs:input_dev (Results 1 – 3 of 3) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c87 InputDevice *input_dev; member
167 void report_event(InputDevice *input_dev, uint32_t type, uint32_t code, int32_t value) in report_event() argument
169 DPRINTF("%s type = %u, code = %u, value = %d\n", input_dev->devName, type, code, value); in report_event()
171 PushOnePackage(input_dev, type, code, value); in report_event()
173 PushOnePackage(input_dev, type, code, value); in report_event()
177 void mouse_report_events(InputDevice *input_dev, void *buffer, int len) in mouse_report_events() argument
185 report_event(input_dev, EV_KEY, BTN_LEFT, BTN_LEFT_VALUE((unsigned char)buf[0])); in mouse_report_events()
186 report_event(input_dev, EV_KEY, BTN_RIGHT, BTN_RIGHT_VALUE((unsigned char)buf[0])); in mouse_report_events()
187 report_event(input_dev, EV_KEY, BTN_MIDDLE, BTN_MIDDLE_VALUE((unsigned char)buf[0])); in mouse_report_events()
188 report_event(input_dev, EV_REL, REL_X, buf[1]); in mouse_report_events()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.c103 struct input_dev dev;
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h65446 struct input_dev { struct
65465 int (*setkeycode)(struct input_dev *, const struct input_keymap_entry *, unsigned int *); argument
65466 int (*getkeycode)(struct input_dev *, struct input_keymap_entry *); argument
65478 int (*open)(struct input_dev *); argument
65479 void (*close)(struct input_dev *); argument
65480 int (*flush)(struct input_dev *, struct file *); argument
65481 int (*event)(struct input_dev *, unsigned int, unsigned int, int); argument
65499 int (*upload)(struct input_dev *, struct ff_effect *, struct ff_effect *); argument
65500 int (*erase)(struct input_dev *, int);
65501 int (*playback)(struct input_dev *, int, int);
[all …]