
I use the mouse, rather than the keyboard for flight controls.. One issue I've been having has been when switching from the flight views to GUI views, whenever I switch back to flight, the moment I move the mouse again the direction of my ship changes in usually some random wild direction.
replacing setMouseInDeltaMode: in src/SDL/MyOpenGLView.m
with the following seems to fix it:
- (void) setMouseInDeltaMode: (BOOL) inDelta
{
if (inDelta && !mouseInDeltaMode)
{
SDL_GetRelativeMouseState(NULL, NULL);
[self setVirtualJoystick: 0.0 : 0.0];
}
mouseInDeltaMode=inDelta;
}