Lines Matching refs:imu_data
1052 struct joycon_imu_data *imu_data) in joycon_input_report_parse_imu_data() argument
1058 struct joycon_imu_data *data = &imu_data[i]; in joycon_input_report_parse_imu_data()
1074 struct joycon_imu_data imu_data[3] = {0}; /* 3 reports per packet */ in joycon_parse_imu_report() local
1081 joycon_input_report_parse_imu_data(ctlr, rep, imu_data); in joycon_parse_imu_report()
1203 (imu_data[i].gyro_x - in joycon_parse_imu_report()
1208 (imu_data[i].gyro_y - in joycon_parse_imu_report()
1213 (imu_data[i].gyro_z - in joycon_parse_imu_report()
1218 value[3] = ((s32)imu_data[i].accel_x * in joycon_parse_imu_report()
1221 value[4] = ((s32)imu_data[i].accel_y * in joycon_parse_imu_report()
1224 value[5] = ((s32)imu_data[i].accel_z * in joycon_parse_imu_report()
1229 imu_data[i].gyro_x, imu_data[i].gyro_y, in joycon_parse_imu_report()
1230 imu_data[i].gyro_z); in joycon_parse_imu_report()
1232 imu_data[i].accel_x, imu_data[i].accel_y, in joycon_parse_imu_report()
1233 imu_data[i].accel_z); in joycon_parse_imu_report()