Lines Matching defs:interact_type
74 struct interact_type {
83 static struct interact_type interact_type[] = {
238 for (i = 0; interact_type[i].length; i++)
239 if (interact_type[i].id == (data[2] >> 16))
242 if (!interact_type[i].length) {
255 interact->length = interact_type[i].length;
257 input_dev->name = interact_type[i].name;
261 input_dev->id.product = interact_type[i].id;
272 for (i = 0; (t = interact_type[interact->type].abs[i]) >= 0; i++) {
273 if (i < interact_type[interact->type].b8)
279 for (i = 0; (t = interact_type[interact->type].btn[i]) >= 0; i++)