Fix some emulated wiimote turntable stupidness (DJ Hero controller). Happy Christmas!

Fixed issue 6865.
This commit is contained in:
Jordan Woyak 2013-12-25 15:33:33 -06:00
parent 2ed24d5311
commit 4d1f113ab1
1 changed files with 5 additions and 5 deletions

View File

@ -76,7 +76,7 @@ void Turntable::GetState(u8* const data, const bool focus)
m_left_table->GetState(&tt, focus ? 0x1F : 0);
ttdata->ltable1 = tt;
ttdata->ltable2 = tt << 5;
ttdata->ltable2 = tt >> 5;
}
// right table
@ -85,9 +85,9 @@ void Turntable::GetState(u8* const data, const bool focus)
m_right_table->GetState(&tt, focus ? 0x1F : 0);
ttdata->rtable1 = tt;
ttdata->rtable2 = tt << 1;
ttdata->rtable3 = tt << 3;
ttdata->rtable4 = tt << 5;
ttdata->rtable2 = tt >> 1;
ttdata->rtable3 = tt >> 3;
ttdata->rtable4 = tt >> 5;
}
// effect dial
@ -96,7 +96,7 @@ void Turntable::GetState(u8* const data, const bool focus)
m_effect_dial->GetState(&dial, focus ? 0xF : 0);
ttdata->dial1 = dial;
ttdata->dial2 = dial << 3;
ttdata->dial2 = dial >> 3;
}
// crossfade slider