Skip to content

Commit

Permalink
bytematch more CoreController virtual funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-thomas774 committed Sep 28, 2024
1 parent 90ee351 commit 942e8fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/egg/core/eggController.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class CoreStatus {
f32 getFSStickX() const { return mFSStickX; }
f32 getFSStickY() const { return mFSStickY; }
bool down(u32 mask) const { return (mask & mHold); }
bool up(u32 mask) const { return !(mask & mHold); }
bool up(u32 mask) const { return (mask & mHold) != mask; }
bool downTrigger(u32 mask) const { return (mask & mTrig); }
bool upTrigger(u32 mask) const { return (mask & mRelease); }
bool downAll(u32 mask) const { return mHold == mask; }
bool downAll(u32 mask) const { return (mask & mHold) == mask; }
bool upAll(u32 mask) const { return (mask & mHold) == 0; }

s32 getDevType() const { return mDevType; }
Expand Down

0 comments on commit 942e8fd

Please sign in to comment.