clang format

This commit is contained in:
counter185 2024-08-28 14:22:59 +02:00
parent 89bdd3bba2
commit 2e2f3bb2c6
1 changed files with 2 additions and 2 deletions

View File

@ -309,8 +309,8 @@ int PS4_SYSV_ABI scePadRead(s32 handle, OrbisPadData* pData, s32 num) {
pData[i].angularVelocity.x = 0.0f;
pData[i].angularVelocity.y = 0.0f;
pData[i].angularVelocity.z = 0.0f;
pData[i].touchData.touchNum = (states[i].touchpad[0].state ? 1 : 0)
+ (states[i].touchpad[1].state ? 1 : 0);
pData[i].touchData.touchNum =
(states[i].touchpad[0].state ? 1 : 0) + (states[i].touchpad[1].state ? 1 : 0);
pData[i].touchData.touch[0].x = states[i].touchpad[0].x;
pData[i].touchData.touch[0].y = states[i].touchpad[0].y;
pData[i].touchData.touch[0].id = 1;