| 1 | #include "Player/PlayerInputFunction.h" |
|---|---|
| 2 | |
| 3 | #include "Library/Controller/InputFunction.h" |
| 4 | #include "Library/LiveActor/LiveActor.h" |
| 5 | |
| 6 | bool PlayerInputFunction::isTriggerAction(const al::LiveActor* actor, s32 port) { |
| 7 | if (rs::isSeparatePlay(actor) && al::isPadTypeJoySingle(port)) |
| 8 | return al::isPadTriggerY(port); |
| 9 | return al::isPadTriggerX(port) || al::isPadTriggerY(port); |
| 10 | } |
| 11 |