In ShipController.cpp, I see a comment about possibly making something configurable, in this bit:
Code: Select all
MoveableCameraController *mcc = static_cast<MoveableCameraController *>(Pi::game->GetWorldView()->GetCameraController());
const double accel = 0.01; // XXX configurable?
mcc->RotateLeft(mouseMotion[0] * accel);
mcc->RotateUp(mouseMotion[1] * accel);
The reason I ask is that I have set up a head-tracking device and got it to work in Pioneer! I have one program that causes a button press on my controller to act as a "hold middle mouse button" toggle, then the head-tracking software converting my head movements to mouse movements (and also mapping the same toggle button as a "reset camera" position so the movements always start with my head "centered"). Pretty cool... but really choppy. If there's a way to get the graphics engine to move smoothly from one position the mouse requests to the next, that would be awesome.