Lines Matching refs:kp_fs_rot
86 static Mtx kp_fs_rot ; // Rotation matrix variable
868 MTXMultVec( kp_fs_rot, &fsrc, &fsrc ) ; in read_kpad_acc()
2021 MTXRowCol( kp_fs_rot, 0, 0 ) = 1 ; in KPADInit()
2022 MTXRowCol( kp_fs_rot, 0, 1 ) = 0 ; in KPADInit()
2023 MTXRowCol( kp_fs_rot, 0, 2 ) = 0 ; in KPADInit()
2024 MTXRowCol( kp_fs_rot, 0, 3 ) = 0 ; in KPADInit()
2025 MTXRowCol( kp_fs_rot, 1, 0 ) = 0 ; in KPADInit()
2026 MTXRowCol( kp_fs_rot, 1, 1 ) = (f32) cos( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInit()
2027 MTXRowCol( kp_fs_rot, 1, 2 ) = (f32)-sin( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInit()
2028 MTXRowCol( kp_fs_rot, 1, 3 ) = 0 ; in KPADInit()
2029 MTXRowCol( kp_fs_rot, 2, 0 ) = 0 ; in KPADInit()
2030 MTXRowCol( kp_fs_rot, 2, 1 ) = (f32) sin( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInit()
2031 MTXRowCol( kp_fs_rot, 2, 2 ) = (f32) cos( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInit()
2032 MTXRowCol( kp_fs_rot, 2, 3 ) = 0 ; in KPADInit()
2267 MTXMultVec( kp_fs_rot, acc, acc ) ; in KPADReviseAcc()