mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
pad: Fix logic typo
This commit is contained in:
parent
e904bb05d4
commit
676f254be1
@ -3,7 +3,7 @@
|
|||||||
#include "runtime/pad.h"
|
#include "runtime/pad.h"
|
||||||
|
|
||||||
NX_CONSTEXPR bool _isStickMoving(const HidAnalogStickState* stick) {
|
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) {
|
void padConfigureInput(u32 max_players, u32 style_set) {
|
||||||
|
Loading…
Reference in New Issue
Block a user