mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Fix some emulated wiimote turntable stupidness (DJ Hero controller). Happy Christmas!
Fixed issue 6865.
This commit is contained in:
parent
2ed24d5311
commit
4d1f113ab1
@ -76,7 +76,7 @@ void Turntable::GetState(u8* const data, const bool focus)
|
|||||||
m_left_table->GetState(&tt, focus ? 0x1F : 0);
|
m_left_table->GetState(&tt, focus ? 0x1F : 0);
|
||||||
|
|
||||||
ttdata->ltable1 = tt;
|
ttdata->ltable1 = tt;
|
||||||
ttdata->ltable2 = tt << 5;
|
ttdata->ltable2 = tt >> 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// right table
|
// right table
|
||||||
@ -85,9 +85,9 @@ void Turntable::GetState(u8* const data, const bool focus)
|
|||||||
m_right_table->GetState(&tt, focus ? 0x1F : 0);
|
m_right_table->GetState(&tt, focus ? 0x1F : 0);
|
||||||
|
|
||||||
ttdata->rtable1 = tt;
|
ttdata->rtable1 = tt;
|
||||||
ttdata->rtable2 = tt << 1;
|
ttdata->rtable2 = tt >> 1;
|
||||||
ttdata->rtable3 = tt << 3;
|
ttdata->rtable3 = tt >> 3;
|
||||||
ttdata->rtable4 = tt << 5;
|
ttdata->rtable4 = tt >> 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// effect dial
|
// effect dial
|
||||||
@ -96,7 +96,7 @@ void Turntable::GetState(u8* const data, const bool focus)
|
|||||||
m_effect_dial->GetState(&dial, focus ? 0xF : 0);
|
m_effect_dial->GetState(&dial, focus ? 0xF : 0);
|
||||||
|
|
||||||
ttdata->dial1 = dial;
|
ttdata->dial1 = dial;
|
||||||
ttdata->dial2 = dial << 3;
|
ttdata->dial2 = dial >> 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// crossfade slider
|
// crossfade slider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user