mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-29 12:04:09 +00:00
11 lines
364 B
C++
11 lines
364 B
C++
#include "Player/PlayerInputFunction.h"
|
|
|
|
#include "Library/Controller/InputFunction.h"
|
|
#include "Library/LiveActor/LiveActor.h"
|
|
|
|
bool PlayerInputFunction::isTriggerAction(const al::LiveActor* actor, s32 port) {
|
|
if (rs::isSeparatePlay(actor) && al::isPadTypeJoySingle(port))
|
|
return true;
|
|
return al::isPadTriggerX(port) || al::isPadTriggerY(port);
|
|
}
|