Searched refs:kp_fs_rot (Results 1 – 1 of 1) sorted by relevance
| /RvlSDK-3.2/build/libraries/kpad/src/ |
| D | KPAD.c | 95 static Mtx kp_fs_rot ; // Rotation matrix variable 922 MTXMultVec( kp_fs_rot, &fsrc, &fsrc ) ; in read_kpad_acc() 2393 MTXRowCol( kp_fs_rot, 0, 0 ) = 1 ; in KPADInitEx() 2394 MTXRowCol( kp_fs_rot, 0, 1 ) = 0 ; in KPADInitEx() 2395 MTXRowCol( kp_fs_rot, 0, 2 ) = 0 ; in KPADInitEx() 2396 MTXRowCol( kp_fs_rot, 0, 3 ) = 0 ; in KPADInitEx() 2397 MTXRowCol( kp_fs_rot, 1, 0 ) = 0 ; in KPADInitEx() 2398 MTXRowCol( kp_fs_rot, 1, 1 ) = (f32) cos( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInitEx() 2399 MTXRowCol( kp_fs_rot, 1, 2 ) = (f32)-sin( MTXDegToRad(kp_fs_revise_deg) ) ; in KPADInitEx() 2400 MTXRowCol( kp_fs_rot, 1, 3 ) = 0 ; in KPADInitEx() [all …]
|