Searched refs:accel_cal (Results 1 – 1 of 1) sorted by relevance
446 struct joycon_imu_cal accel_cal; member902 ctlr->imu_cal_accel_divisor[i] = ctlr->accel_cal.scale[i] - in joycon_calc_imu_cal_divisors()903 ctlr->accel_cal.offset[i]; in joycon_calc_imu_cal_divisors()951 ctlr->accel_cal.offset[i] = DFLT_ACCEL_OFFSET; in joycon_request_imu_calibration()952 ctlr->accel_cal.scale[i] = DFLT_ACCEL_SCALE; in joycon_request_imu_calibration()964 ctlr->accel_cal.offset[i] = get_unaligned_le16(raw_cal + j); in joycon_request_imu_calibration()965 ctlr->accel_cal.scale[i] = get_unaligned_le16(raw_cal + j + 6); in joycon_request_imu_calibration()977 ctlr->accel_cal.offset[0], in joycon_request_imu_calibration()978 ctlr->accel_cal.offset[1], in joycon_request_imu_calibration()979 ctlr->accel_cal.offset[2], in joycon_request_imu_calibration()[all …]