Home
last modified time | relevance | path

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

/drivers/input/joystick/
Dadi.c118 char hats; member
241 for (i = 0; i < adi->hats; i++) { in adi_decode()
344 if ((t = adi_get_bits(adi, 4)) & ADI_FLAG_HAT) adi->hats++; in adi_id_decode()
357 if (adi_get_bits(adi, 6) != 8 && adi->hats) { in adi_id_decode()
364 adi->hats += adi_get_bits(adi, 4); in adi_id_decode()
379 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
451 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
Dtmdc.c96 char hats; member
339 for (i = 0; i < model->hats && i < TMDC_ABS_HAT; i++) in tmdc_setup_port()
DKconfig24 with rudders, additional hats and buttons compatible with CH