Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dsidewinder.c52 #define SW_ID_3DP 0 macro
289 case SW_ID_3DP: in sw_parse()
305 input_report_key(dev, sw_btn[SW_ID_3DP][j], !GB(j+8,1)); in sw_parse()
413 if (sw->type == SW_ID_3DP && sw->length == 66 && i != 66) { /* Broken packet, try to fix */ in sw_read()
439 if (sw->type == SW_ID_3DP && sw->length == 66 /* Many packets OK */ in sw_read()
453 if (sw->type == SW_ID_3DP && sw->length == 22 && sw->fail > SW_BAD) { /* Consecutive bad packets */ in sw_read()
466 if (!i && sw->type == SW_ID_3DP) { /* 3D Pro can be in analog mode */ in sw_read()
691 sw->type = SW_ID_3DP; in sw_connect()