Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/joystick/
Dsidewinder.c55 #define SW_ID_3DP 0 macro
292 case SW_ID_3DP: in sw_parse()
308 input_report_key(dev, sw_btn[SW_ID_3DP][j], !GB(j+8,1)); in sw_parse()
416 if (sw->type == SW_ID_3DP && sw->length == 66 && i != 66) { /* Broken packet, try to fix */ in sw_read()
442 if (sw->type == SW_ID_3DP && sw->length == 66 /* Many packets OK */ in sw_read()
456 if (sw->type == SW_ID_3DP && sw->length == 22 && sw->fail > SW_BAD) { /* Consecutive bad packets */ in sw_read()
469 if (!i && sw->type == SW_ID_3DP) { /* 3D Pro can be in analog mode */ in sw_read()
693 sw->type = SW_ID_3DP; in sw_connect()