Commit suggestion

Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
Windsurf7 2026-01-27 11:46:18 +03:00 committed by GitHub
parent 2547196676
commit 1508f40470
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
{