Searched refs:cal_x (Results 1 – 1 of 1) sorted by relevance
299 struct joycon_stick_cal *cal_x; in joycon_request_calibration() local348 cal_x = &ctlr->left_stick_cal_x; in joycon_request_calibration()353 cal_x->center = hid_field_extract(ctlr->hdev, (raw_cal + 3), 0, 12); in joycon_request_calibration()357 cal_x->max = cal_x->center + x_max_above; in joycon_request_calibration()358 cal_x->min = cal_x->center - x_min_below; in joycon_request_calibration()364 cal_x = &ctlr->right_stick_cal_x; in joycon_request_calibration()367 cal_x->center = hid_field_extract(ctlr->hdev, (raw_cal + 0), 0, 12); in joycon_request_calibration()373 cal_x->max = cal_x->center + x_max_above; in joycon_request_calibration()374 cal_x->min = cal_x->center - x_min_below; in joycon_request_calibration()