Home
last modified time | relevance | path

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

/freebsd/sys/dev/hid/
H A Dps4dshock.c679 struct ps4ds_calib_data calib_data[6]; member
810 for (i = 0; i < nitems(sc->calib_data); i++) { in ps4dsacc_data_cb()
811 if (sc->calib_data[i].usage == ctx.hi->usage) { in ps4dsacc_data_cb()
813 sc->calib_data[i].code, in ps4dsacc_data_cb()
814 -sc->calib_data[i].range, in ps4dsacc_data_cb()
815 sc->calib_data[i].range, 16, 0, in ps4dsacc_data_cb()
816 sc->calib_data[i].res); in ps4dsacc_data_cb()
817 HIDMAP_CB_UDATA = &sc->calib_data[i]; in ps4dsacc_data_cb()
1221 sc->calib_data[0].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_RX); in ps4dsacc_attach()
1222 sc->calib_data[0].code = ABS_RX; in ps4dsacc_attach()
[all …]