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

/linux-4.1.27/drivers/input/joystick/
H A Dsidewinder.c71 #define SW_ID_3DP 0 macro
308 case SW_ID_3DP: sw_parse()
324 input_report_key(dev, sw_btn[SW_ID_3DP][j], !GB(j+8,1)); sw_parse()
432 if (sw->type == SW_ID_3DP && sw->length == 66 && i != 66) { /* Broken packet, try to fix */ sw_read()
458 if (sw->type == SW_ID_3DP && sw->length == 66 /* Many packets OK */ sw_read()
472 if (sw->type == SW_ID_3DP && sw->length == 22 && sw->fail > SW_BAD) { /* Consecutive bad packets */ sw_read()
485 if (!i && sw->type == SW_ID_3DP) { /* 3D Pro can be in analog mode */ sw_read()
704 sw->type = SW_ID_3DP; sw_connect()

Completed in 36 milliseconds