Searched refs:kp_fs_rot (Results 1 – 1 of 1) sorted by relevance
| /RvlSDK-3.2.3/build/libraries/kpad/src/ |
| D | KPAD.c | 107 static Mtx kp_fs_rot ; // Rotation matrix variable 934 MTXMultVec( kp_fs_rot, &fsrc, &fsrc ) ; in read_kpad_acc() 2417 MTXRowCol( kp_fs_rot, 0, 0 ) = 1 ; in KPADInitEx() 2418 MTXRowCol( kp_fs_rot, 0, 1 ) = 0 ; in KPADInitEx() 2419 MTXRowCol( kp_fs_rot, 0, 2 ) = 0 ; in KPADInitEx() 2420 MTXRowCol( kp_fs_rot, 0, 3 ) = 0 ; in KPADInitEx() 2421 MTXRowCol( kp_fs_rot, 1, 0 ) = 0 ; in KPADInitEx() 2422 MTXRowCol( kp_fs_rot, 1, 1 ) = (f32) cos( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInitEx() 2423 MTXRowCol( kp_fs_rot, 1, 2 ) = (f32)-sin( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInitEx() 2424 MTXRowCol( kp_fs_rot, 1, 3 ) = 0 ; in KPADInitEx() [all …]
|