- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.
SVN r2449 (trunk)
This commit is contained in:
parent
4ac64b6df7
commit
545a892faa
28 changed files with 50 additions and 50 deletions
|
|
@ -629,7 +629,7 @@ bool FDInputJoystick::ReorderAxisPair(const GUID &xid, const GUID &yid, int pos)
|
|||
}
|
||||
if (x == pos + 1 && y == pos)
|
||||
{ // Xbox 360 Controllers return them in this order.
|
||||
swap(Axes[pos], Axes[pos + 1]);
|
||||
swapvalues(Axes[pos], Axes[pos + 1]);
|
||||
}
|
||||
else if (x != pos || y != pos + 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue