mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-07 01:11:35 -06:00
Commit suggestion
Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
parent
2547196676
commit
1508f40470
@ -636,10 +636,9 @@ void pad_thread::operator()()
|
||||
if (reset)
|
||||
{
|
||||
// RMB released → reset motion
|
||||
// 512 is the neutral value within the 0-1023 motion range.
|
||||
pad->m_sensors[0].m_value = 512;
|
||||
pad->m_sensors[1].m_value = 512;
|
||||
pad->m_sensors[2].m_value = 512;
|
||||
pad->m_sensors[0].m_value = DEFAULT_MOTION_X;
|
||||
pad->m_sensors[1].m_value = DEFAULT_MOTION_Y;
|
||||
pad->m_sensors[2].m_value = DEFAULT_MOTION_Z;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user