Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-nintendo.c1015 struct joycon_imu_data *imu_data) in joycon_input_report_parse_imu_data() argument
1021 struct joycon_imu_data *data = &imu_data[i]; in joycon_input_report_parse_imu_data()
1037 struct joycon_imu_data imu_data[3] = {0}; /* 3 reports per packet */ in joycon_parse_imu_report() local
1044 joycon_input_report_parse_imu_data(ctlr, rep, imu_data); in joycon_parse_imu_report()
1166 (imu_data[i].gyro_x - in joycon_parse_imu_report()
1171 (imu_data[i].gyro_y - in joycon_parse_imu_report()
1176 (imu_data[i].gyro_z - in joycon_parse_imu_report()
1181 value[3] = ((s32)imu_data[i].accel_x * in joycon_parse_imu_report()
1184 value[4] = ((s32)imu_data[i].accel_y * in joycon_parse_imu_report()
1187 value[5] = ((s32)imu_data[i].accel_z * in joycon_parse_imu_report()
[all …]