Lines Matching +full:0 +full:x75

57  *   Field(0)
64 * Logical Minimum(0)
68 * Report Offset(0)
84 * Field(0)
90 * Logical Minimum(0)
94 * Report Offset(0)
113 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
114 0x09, 0x02, /* USAGE (Mouse) */
115 0xa1, 0x01, /* COLLECTION (Application) */
116 0x09, 0x01, /* USAGE (Pointer) */
117 0xa1, 0x00, /* COLLECTION (Physical) */
118 0x85, 0x01, /* REPORT_ID (1) */
119 0x05, 0x09, /* USAGE_PAGE (Button) */
120 0x19, 0x01, /* USAGE_MINIMUM (Button 1) */
121 0x29, 0x03, /* USAGE_MAXIMUM (Button 3) */
122 0x15, 0x00, /* LOGICAL_MINIMUM (0) */
123 0x25, 0x01, /* LOGICAL_MAXIMUM (1) */
124 0x95, 0x03, /* REPORT_COUNT (3) */
125 0x75, 0x01, /* REPORT_SIZE (1) */
126 0x81, 0x02, /* INPUT (Data,Var,Abs) */
127 0x95, 0x01, /* REPORT_COUNT (1) */
128 0x75, 0x05, /* REPORT_SIZE (5) */
129 0x81, 0x01, /* INPUT (Cnst,Var,Abs) */
130 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
131 0x09, 0x30, /* USAGE (X) */
132 0x09, 0x31, /* USAGE (Y) */
133 0x09, 0x38, /* USAGE (WHEEL) */
134 0x15, 0x81, /* LOGICAL_MINIMUM (-127) */
135 0x25, 0x7f, /* LOGICAL_MAXIMUM (127) */
136 0x75, 0x08, /* REPORT_SIZE (8) */
137 0x95, 0x03, /* REPORT_COUNT (3) */
138 0x81, 0x06, /* INPUT (Data,Var,Rel) */
139 0xc0, /* END_COLLECTION */
140 0xc0, /* END_COLLECTION */
141 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
142 0x09, 0x06, /* USAGE (Keyboard) */
143 0xa1, 0x01, /* COLLECTION (Application) */
144 0x85, 0x02, /* REPORT_ID (2) */
145 0x05, 0x08, /* USAGE_PAGE (Led) */
146 0x19, 0x01, /* USAGE_MINIMUM (1) */
147 0x29, 0x03, /* USAGE_MAXIMUM (3) */
148 0x15, 0x00, /* LOGICAL_MINIMUM (0) */
149 0x25, 0x01, /* LOGICAL_MAXIMUM (1) */
150 0x95, 0x03, /* REPORT_COUNT (3) */
151 0x75, 0x01, /* REPORT_SIZE (1) */
152 0x91, 0x02, /* Output (Data,Var,Abs) */
153 0x95, 0x01, /* REPORT_COUNT (1) */
154 0x75, 0x05, /* REPORT_SIZE (5) */
155 0x91, 0x01, /* Output (Cnst,Var,Abs) */
156 0xc0, /* END_COLLECTION */
164 if (ret < 0) { in uhid_write()
172 return 0; in uhid_write()
180 memset(&ev, 0, sizeof(ev)); in create()
186 ev.u.create.vendor = 0x15d9; in create()
187 ev.u.create.product = 0x0a37; in create()
188 ev.u.create.version = 0; in create()
189 ev.u.create.country = 0; in create()
198 memset(&ev, 0, sizeof(ev)); in destroy()
216 /* first byte is report-id which is 0x02 for LEDs in our rdesc */ in handle_output()
217 if (ev->u.output.data[0] != 0x2) in handle_output()
230 memset(&ev, 0, sizeof(ev)); in event()
232 if (ret == 0) { in event()
235 } else if (ret < 0) { in event()
268 return 0; in event()
282 memset(&ev, 0, sizeof(ev)); in send_event()
286 ev.u.input.data[0] = 0x1; in send_event()
288 ev.u.input.data[1] |= 0x1; in send_event()
290 ev.u.input.data[1] |= 0x2; in send_event()
292 ev.u.input.data[1] |= 0x4; in send_event()
307 if (ret == 0) { in keyboard()
310 } else if (ret < 0) { in keyboard()
315 for (i = 0; i < ret; ++i) { in keyboard()
338 abs_hor = 0; in keyboard()
345 abs_hor = 0; in keyboard()
352 abs_ver = 0; in keyboard()
359 abs_ver = 0; in keyboard()
366 wheel = 0; in keyboard()
373 wheel = 0; in keyboard()
384 return 0; in keyboard()
408 fprintf(stderr, "Usage: %s [%s]\n", argv[0], path); in main()
417 if (fd < 0) { in main()
429 pfds[0].fd = STDIN_FILENO; in main()
430 pfds[0].events = POLLIN; in main()
437 if (ret < 0) { in main()
441 if (pfds[0].revents & POLLHUP) { in main()
450 if (pfds[0].revents & POLLIN) { in main()