MouseInput: invert y-accel property
Syd Adams: It could be inverted with nasal for use, but it feels more natural with positive /forward , negative / back.
This commit is contained in:
parent
0361f136fe
commit
8a08507282
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ void FGMouseInput::doMouseMotion (int x, int y)
|
|||
}
|
||||
if (y != m.y) {
|
||||
int delta = y - m.y;
|
||||
yAccelNode->setIntValue( delta );
|
||||
yAccelNode->setIntValue( -delta );
|
||||
for (unsigned int i = 0; i < mode.y_bindings[modifiers].size(); i++)
|
||||
mode.y_bindings[modifiers][i]->fire(double(delta), double(ysize));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue