| 78 | } |
| 79 | |
| 80 | void PSMoveMgr::GetAccel(int id, ofVec3f& accel) |
| 81 | { |
| 82 | if (mMove[id]) |
| 83 | { |
| 84 | int x, y, z; |
| 85 | psmove_get_accelerometer(mMove[id], &x, &y, &z); |
| 86 | accel.x = x; |
| 87 | accel.y = y; |
| 88 | accel.z = z; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | bool PSMoveMgr::IsButtonDown(int id, PSMove_Button button) |
| 93 | { |
no test coverage detected