1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-13 14:32:14 +02:00

pad: Fix logic typo

This commit is contained in:
fincs 2020-12-01 16:37:01 +01:00
parent e904bb05d4
commit 676f254be1
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60

View File

@ -3,7 +3,7 @@
#include "runtime/pad.h"
NX_CONSTEXPR bool _isStickMoving(const HidAnalogStickState* stick) {
return stick->x != 0 && stick->y != 0;
return stick->x != 0 || stick->y != 0;
}
void padConfigureInput(u32 max_players, u32 style_set) {