Searched refs:interact_type (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/input/joystick/
H A Dinteract.c73 struct interact_type { struct
82 static struct interact_type interact_type[] = { variable in typeref:struct:interact_type
237 for (i = 0; interact_type[i].length; i++) interact_connect()
238 if (interact_type[i].id == (data[2] >> 16)) interact_connect()
241 if (!interact_type[i].length) { interact_connect()
254 interact->length = interact_type[i].length; interact_connect()
256 input_dev->name = interact_type[i].name; interact_connect()
260 input_dev->id.product = interact_type[i].id; interact_connect()
271 for (i = 0; (t = interact_type[interact->type].abs[i]) >= 0; i++) { interact_connect()
272 if (i < interact_type[interact->type].b8) interact_connect()
278 for (i = 0; (t = interact_type[interact->type].btn[i]) >= 0; i++) interact_connect()

Completed in 144 milliseconds